Skip to content

Commit 10890ae

Browse files
committed
style: Make clippy happy
1 parent 5fe3b68 commit 10890ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pagination/paginator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl Paginator {
4545
total_pages: usize,
4646
index_title: Option<&liquid::model::Value>,
4747
) -> Result<()> {
48-
self.first_index_permalink = doc.url_path.to_string();
48+
self.first_index_permalink = doc.url_path.clone();
4949
self.last_index_permalink = interpret_permalink(config, doc, total_pages, index_title)?;
5050
Ok(())
5151
}

0 commit comments

Comments
 (0)