1
Fork 0

inline a function that is only used in clippy

This commit is contained in:
Oli Scherer 2024-02-01 08:35:37 +00:00
parent 8a5847f5c4
commit 1fcd04ed49
2 changed files with 1 additions and 5 deletions

View file

@ -163,10 +163,6 @@ impl Lifetime {
(LifetimeSuggestionPosition::Normal, self.ident.span)
}
}
pub fn is_static(&self) -> bool {
self.res == LifetimeName::Static
}
}
/// A `Path` is essentially Rust's notion of a name; for instance,