mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Remove neesless clone
This commit is contained in:
parent
820393f72d
commit
b50cb5c261
8 changed files with 10 additions and 10 deletions
|
@ -53,7 +53,7 @@ impl<'a> EnumRender<'a> {
|
|||
}
|
||||
None => (
|
||||
hir::ModPath::from_segments(hir::PathKind::Plain, iter::once(name.clone())),
|
||||
hir::ModPath::from_segments(hir::PathKind::Plain, iter::once(name.clone())),
|
||||
hir::ModPath::from_segments(hir::PathKind::Plain, iter::once(name)),
|
||||
),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue