fix: clippy warnings in rust 1.83 (#907)

This commit is contained in:
Myriad-Dreamin 2024-11-29 14:50:22 +08:00 committed by GitHub
parent 6d5c353fc0
commit b8f65cf2ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 63 additions and 59 deletions

View file

@ -79,7 +79,7 @@ struct ReferencesWorker<'a> {
module_path: OnceLock<Interned<str>>,
}
impl<'a> ReferencesWorker<'a> {
impl ReferencesWorker<'_> {
fn label_root(mut self) -> Option<Vec<LspLocation>> {
let mut ids = vec![];