summaryrefslogtreecommitdiff
path: root/src/posts/fs_post.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/posts/fs_post.rs')
-rw-r--r--src/posts/fs_post.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posts/fs_post.rs b/src/posts/fs_post.rs
index a1de678..4fc03b2 100644
--- a/src/posts/fs_post.rs
+++ b/src/posts/fs_post.rs
@@ -26,7 +26,7 @@ impl Post for FsPost {
let article = self.get_article();
Cow::Owned(
article
- .split_once("\n")
+ .split_once('\n')
.map(|(first, _)| first)
.unwrap_or_default()
.trim_start_matches('_')