needless_borrow

This commit is contained in:
Johann Hemmann 2024-01-19 15:25:51 +01:00
parent d351cb8dfb
commit 3839f9a9a2
9 changed files with 14 additions and 15 deletions

View file

@ -230,7 +230,7 @@ fn find_path_for_module(
}
if let value @ Some(_) =
find_in_prelude(ctx.db, &root_def_map, &def_map, ItemInNs::Types(module_id.into()), from)
find_in_prelude(ctx.db, &root_def_map, def_map, ItemInNs::Types(module_id.into()), from)
{
return value.zip(Some(Stable));
}