clippy::useless_return

This commit is contained in:
Maan2003 2021-06-13 09:35:29 +05:30
parent 75370312fb
commit c50b4579ec
No known key found for this signature in database
GPG key ID: E9AF024BA63C70ED
10 changed files with 15 additions and 15 deletions

View file

@ -192,7 +192,7 @@ pub(crate) fn doc_attributes(
ast::TupleField(it) => sema.to_def(&it).map(|def| (def.attrs(sema.db), Definition::Field(def))),
ast::Macro(it) => sema.to_def(&it).map(|def| (def.attrs(sema.db), Definition::Macro(def))),
// ast::Use(it) => sema.to_def(&it).map(|def| (Box::new(it) as _, def.attrs(sema.db))),
_ => return None
_ => None
}
}
}