Skip to content

Commit db57f89

Browse files
authored
Merge pull request #1309 from yawpitch/master
Minor typo fix in src/mod/visibility
2 parents f001441 + cd30ea3 commit db57f89

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)