Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DerDrodt committed Aug 20, 2024
1 parent aca3971 commit 817530a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/csl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl<'a, T: EntryLike + Hash + PartialEq + Eq + Debug> BibliographyDriver<'a, T>
&mut citation.items,
style.csl.citation.sort.as_ref(),
citation.locale.as_ref(),
&citation_number,
citation_number,
);

let items = &citation.items;
Expand Down
2 changes: 1 addition & 1 deletion src/types/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl PageRanges {

match (a, b) {
(Some(a), Some(b)) => {
let ord = a.csl_cmp(&b);
let ord = a.csl_cmp(b);
if ord != std::cmp::Ordering::Equal {
return ord;
}
Expand Down

0 comments on commit 817530a

Please sign in to comment.