Skip to content

Commit

Permalink
Merge pull request #1785 from HosseinAssaran/patch-8
Browse files Browse the repository at this point in the history
Add pub keyword before mod bar definition in doc.md
  • Loading branch information
marioidival authored Dec 13, 2023
2 parents fa7d252 + 6c831eb commit 98a8063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Used to inline docs, instead of linking out to separate page.
pub use bar::Bar;
/// bar docs
mod bar {
pub mod bar {
/// the docs for Bar
pub struct Bar;
}
Expand Down

0 comments on commit 98a8063

Please sign in to comment.