Skip to content

Commit

Permalink
Minor typo fix in src/mod/visibility
Browse files Browse the repository at this point in the history
Believe this was meant to read "mod" not "mode", but "module" seems
clearest.
  • Loading branch information
yawpitch committed Feb 18, 2020
1 parent f001441 commit cd30ea3
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 cd30ea3

Please sign in to comment.