Skip to content

Commit cd30ea3

Browse files
committed
Minor typo fix in src/mod/visibility
Believe this was meant to read "mod" not "mode", but "module" seems clearest.
1 parent f001441 commit cd30ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod/visibility.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ fn main() {
101101
// pub(crate) items can be called from anywhere in the same crate
102102
my_mod::public_function_in_crate();
103103
104-
// pub(in path) items can only be called from within the mode specified
104+
// pub(in path) items can only be called from within the module specified
105105
// Error! function `public_function_in_my_mod` is private
106106
//my_mod::nested::public_function_in_my_mod();
107107
// TODO ^ Try uncommenting this line

0 commit comments

Comments
 (0)