Cleanup convert_path

This commit is contained in:
Lukas Wirth 2024-01-25 10:23:00 +01:00
parent 880baa9e56
commit d8ef6c24cc
4 changed files with 34 additions and 42 deletions

View file

@ -219,7 +219,6 @@ impl Attr {
}
fn from_tt(db: &dyn ExpandDatabase, tt: &[tt::TokenTree], id: AttrId) -> Option<Attr> {
dbg!(tt);
let span = tt.first()?.first_span();
let path_end = tt
.iter()