Skip to content

Commit

Permalink
dislike this clippy suggestion, but whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Dec 1, 2024
1 parent fdab6e7 commit 8087337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ pub enum NpmPackageVersionDistInfoIntegrity<'a> {
LegacySha1Hex(&'a str),
}

impl<'a> NpmPackageVersionDistInfoIntegrity<'a> {
impl NpmPackageVersionDistInfoIntegrity<'_> {
pub fn for_lockfile(&self) -> String {
match self {
NpmPackageVersionDistInfoIntegrity::Integrity {
Expand Down
2 changes: 1 addition & 1 deletion src/resolution/collections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct OneDirectionalLinkedList<'a, T> {
value: OneDirectionalLinkedListItem<'a, T>,
}

impl<'a, T> Default for OneDirectionalLinkedList<'a, T> {
impl<T> Default for OneDirectionalLinkedList<'_, T> {
fn default() -> Self {
Self {
parent: None,
Expand Down

0 comments on commit 8087337

Please sign in to comment.