unnecessary_lazy_evaluations

This commit is contained in:
Johann Hemmann 2024-01-22 01:19:28 +01:00
parent f15ee8a380
commit c4302eaa56
4 changed files with 3 additions and 3 deletions

View file

@ -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)?);