aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_expand/src/db.rs
diff options
context:
space:
mode:
authorMaan2003 <[email protected]>2021-06-13 04:55:55 +0100
committerMaan2003 <[email protected]>2021-06-13 04:55:55 +0100
commit6cc6dee9e96d55dbbd8593523551a9981a691147 (patch)
treec9a790918f586acd877908a5b34e6b073d551b49 /crates/hir_expand/src/db.rs
parentc9b4ac5be4daaabc062ab1ee663eba8594750003 (diff)
clippy::useless_conversion
Diffstat (limited to 'crates/hir_expand/src/db.rs')
-rw-r--r--crates/hir_expand/src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs
index 45e6e446a..4aecf4af5 100644
--- a/crates/hir_expand/src/db.rs
+++ b/crates/hir_expand/src/db.rs
@@ -57,7 +57,7 @@ impl TokenExpander {
57 // We store the result in salsa db to prevent non-deterministic behavior in 57 // We store the result in salsa db to prevent non-deterministic behavior in
58 // some proc-macro implementation 58 // some proc-macro implementation
59 // See #4315 for details 59 // See #4315 for details
60 db.expand_proc_macro(id.into()).into() 60 db.expand_proc_macro(id).into()
61 } 61 }
62 } 62 }
63 } 63 }