Skip to content

Commit 023dfdb

Browse files
committed
Fix typo in a mod visibility example
1 parent 811c697 commit 023dfdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod/visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mod my_mod {
5656
}
5757
5858
pub fn call_public_function_in_my_mod() {
59-
print!("called `my_mod::call_public_funcion_in_my_mod()`, that\n> ");
59+
print!("called `my_mod::call_public_function_in_my_mod()`, that\n> ");
6060
nested::public_function_in_my_mod();
6161
print!("> ");
6262
nested::public_function_in_super_mod();

0 commit comments

Comments
 (0)