mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-22 12:34:39 +00:00
fix: clippy warnings in rust 1.83 (#907)
This commit is contained in:
parent
6d5c353fc0
commit
b8f65cf2ec
29 changed files with 63 additions and 59 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue