Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_expand/src/hygiene.rs')
| -rw-r--r-- | crates/hir_expand/src/hygiene.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_expand/src/hygiene.rs b/crates/hir_expand/src/hygiene.rs index d7dc0443b2..d2b719bf57 100644 --- a/crates/hir_expand/src/hygiene.rs +++ b/crates/hir_expand/src/hygiene.rs @@ -191,7 +191,7 @@ fn make_hygiene_info( .to_node(db) .doc_comments_and_attrs() .nth(invoc_attr_index as usize) - .and_then(Either::right)? + .and_then(Either::left)? .token_tree()?; Some(InFile::new(ast_id.file_id, tt)) } |