Skip to content

Commit 98a8063

Browse files
authored
Merge pull request #1785 from HosseinAssaran/patch-8
Add pub keyword before mod bar definition in doc.md
2 parents fa7d252 + 6c831eb commit 98a8063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/meta/doc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Used to inline docs, instead of linking out to separate page.
8080
pub use bar::Bar;
8181
8282
/// bar docs
83-
mod bar {
83+
pub mod bar {
8484
/// the docs for Bar
8585
pub struct Bar;
8686
}

0 commit comments

Comments
 (0)