Skip to content

Commit 0dedc48

Browse files
committed
Fix clippy lint and remove hello world post
1 parent a0acedb commit 0dedc48

2 files changed

Lines changed: 1 addition & 16 deletions

File tree

posts/2024/hello-world.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/pages/post.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct PostDate {
1818

1919
impl PartialOrd for PostDate {
2020
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
21-
Some((self.year, self.month, self.day).cmp(&(other.year, other.month, other.day)))
21+
Some(self.cmp(other))
2222
}
2323
}
2424
impl Ord for PostDate {

0 commit comments

Comments
 (0)