mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
cargo clippy --fix
This commit is contained in:
parent
1ab8c7fd27
commit
fad4fa163c
178 changed files with 595 additions and 738 deletions
|
@ -381,7 +381,7 @@ impl Ctx<'_> {
|
|||
true,
|
||||
)
|
||||
.ok()?;
|
||||
let ast_ty = make::ty(&ty_str).clone_for_update();
|
||||
let ast_ty = make::ty(ty_str).clone_for_update();
|
||||
|
||||
if let Some(adt) = ty.as_adt() {
|
||||
if let ast::Type::PathType(path_ty) = &ast_ty {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue