Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
zebreus committed Jul 24, 2024
1 parent 1eadc52 commit 8ab3681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ impl Lockfile {
}

pub fn has_content_changed(&self) -> bool {
return self.has_content_changed;
self.has_content_changed
}

/// Create a new [`Lockfile`] instance from given filename and its content.
Expand Down Expand Up @@ -893,7 +893,7 @@ impl Lockfile {
if removed_value.is_some() {
self.has_content_changed = true;
}
return removed_value;
removed_value
}
}

Expand Down

0 comments on commit 8ab3681

Please sign in to comment.