Skip to content

Commit

Permalink
Update compiler/noirc_frontend/src/hir/def_collector/dc_mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ary Borenszweig <[email protected]>
  • Loading branch information
jfecher and asterite authored Jan 21, 2025
1 parent f3535e7 commit 6140589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_frontend/src/hir/def_collector/dc_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ pub fn collect_enum(
}
};

interner.set_doc_comments(ReferenceId::Struct(id), doc_comments);
interner.set_doc_comments(ReferenceId::Enum(id), doc_comments);

for (index, variant) in unresolved.enum_def.variants.iter().enumerate() {
if !variant.doc_comments.is_empty() {
Expand Down

0 comments on commit 6140589

Please sign in to comment.