Skip to content

Commit 4801274

Browse files
committed
clippy: Use &Path instead of &PathBuf
1 parent e75967c commit 4801274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blogs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ fn load_recursive(
154154
Ok(())
155155
}
156156

157-
fn add_postfix_slash<S>(path: &PathBuf, serializer: S) -> Result<S::Ok, S::Error>
157+
fn add_postfix_slash<S>(path: &Path, serializer: S) -> Result<S::Ok, S::Error>
158158
where
159159
S: serde::Serializer,
160160
{

0 commit comments

Comments
 (0)