mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
unnecessary_lazy_evaluations
This commit is contained in:
parent
f15ee8a380
commit
c4302eaa56
4 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ impl Attr {
|
|||
)
|
||||
)
|
||||
})
|
||||
.unwrap_or_else(|| tt.len());
|
||||
.unwrap_or(tt.len());
|
||||
|
||||
let (path, input) = tt.split_at(path_end);
|
||||
let path = Interned::new(ModPath::from_tt(db, path)?);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue