diff --git a/src/mod/visibility.md b/src/mod/visibility.md index 84840e43de..173122c72a 100644 --- a/src/mod/visibility.md +++ b/src/mod/visibility.md @@ -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