diff options
author | Maan2003 <[email protected]> | 2021-06-13 05:05:29 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 05:05:29 +0100 |
commit | c50b4579ec842ac7c1f52e0e3c834d50fc9cd1bb (patch) | |
tree | e70b18936d014aa3038c4a6283e200f0a479aeb1 /crates/hir_expand/src | |
parent | 75370312fbfe072947ffdc568eebc9cb4c6108e4 (diff) |
clippy::useless_return
Diffstat (limited to 'crates/hir_expand/src')
-rw-r--r-- | crates/hir_expand/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/db.rs b/crates/hir_expand/src/db.rs index 4aecf4af5..66f44202b 100644 --- a/crates/hir_expand/src/db.rs +++ b/crates/hir_expand/src/db.rs | |||
@@ -241,7 +241,7 @@ fn parse_macro_expansion( | |||
241 | } | 241 | } |
242 | }; | 242 | }; |
243 | if is_self_replicating(&node, &call_node.value) { | 243 | if is_self_replicating(&node, &call_node.value) { |
244 | return ExpandResult::only_err(err); | 244 | ExpandResult::only_err(err) |
245 | } else { | 245 | } else { |
246 | ExpandResult { value: Some((parse, Arc::new(rev_token_map))), err: Some(err) } | 246 | ExpandResult { value: Some((parse, Arc::new(rev_token_map))), err: Some(err) } |
247 | } | 247 | } |