Skip to content

Commit e74cd3a

Browse files
committed
transpile: document make_submodule
1 parent 5191a25 commit e74cd3a

File tree

1 file changed

+2
-0
lines changed
  • c2rust-transpile/src/translator

1 file changed

+2
-0
lines changed

c2rust-transpile/src/translator/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,8 @@ fn foreign_item_ident_vis(fi: &ForeignItem) -> Option<(&Ident, Visibility)> {
995995
})
996996
}
997997

998+
/// Create a submodule containing the items in `item_store`. Populates `use_item_store` with the set
999+
/// of `use`s to import the submodule's exports.
9981000
fn make_submodule(
9991001
ast_context: &TypedAstContext,
10001002
item_store: &mut ItemStore,

0 commit comments

Comments
 (0)