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

@ -151,7 +151,7 @@ struct RenameFileWorker<'a> {
inserted: FxHashSet<Span>,
}
impl<'a> RenameFileWorker<'a> {
impl RenameFileWorker<'_> {
pub(crate) fn work(&mut self, edits: &mut HashMap<Url, Vec<TextEdit>>) -> Option<()> {
let dep = self.ctx.module_dependencies().get(&self.def_fid).cloned();
if let Some(dep) = dep {