diff options
author | Maan2003 <[email protected]> | 2021-06-13 04:55:55 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 04:55:55 +0100 |
commit | 6cc6dee9e96d55dbbd8593523551a9981a691147 (patch) | |
tree | c9a790918f586acd877908a5b34e6b073d551b49 /crates/hir_expand/src/builtin_derive.rs | |
parent | c9b4ac5be4daaabc062ab1ee663eba8594750003 (diff) |
clippy::useless_conversion
Diffstat (limited to 'crates/hir_expand/src/builtin_derive.rs')
-rw-r--r-- | crates/hir_expand/src/builtin_derive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/builtin_derive.rs b/crates/hir_expand/src/builtin_derive.rs index fe9497b50..4610f6f91 100644 --- a/crates/hir_expand/src/builtin_derive.rs +++ b/crates/hir_expand/src/builtin_derive.rs | |||
@@ -325,7 +325,7 @@ $0 | |||
325 | }, | 325 | }, |
326 | }; | 326 | }; |
327 | 327 | ||
328 | let id: MacroCallId = db.intern_macro(loc).into(); | 328 | let id: MacroCallId = db.intern_macro(loc); |
329 | let parsed = db.parse_or_expand(id.as_file()).unwrap(); | 329 | let parsed = db.parse_or_expand(id.as_file()).unwrap(); |
330 | 330 | ||
331 | // FIXME text() for syntax nodes parsed from token tree looks weird | 331 | // FIXME text() for syntax nodes parsed from token tree looks weird |