Skip to content

Commit

Permalink
Merge pull request #1309 from yawpitch/master
Browse files Browse the repository at this point in the history
Minor typo fix in src/mod/visibility
  • Loading branch information
marioidival committed Feb 18, 2020
2 parents f001441 + cd30ea3 commit db57f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn main() {
// pub(crate) items can be called from anywhere in the same crate
my_mod::public_function_in_crate();
// pub(in path) items can only be called from within the mode specified
// pub(in path) items can only be called from within the module specified
// Error! function `public_function_in_my_mod` is private
//my_mod::nested::public_function_in_my_mod();
// TODO ^ Try uncommenting this line
Expand Down

0 comments on commit db57f89

Please sign in to comment.