Skip to content

Commit a92c3db

Browse files
committed
add missing pub from multifile example in sec 12.3
1 parent 4dc67c5 commit a92c3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2360,7 +2360,7 @@ these two files:
23602360
~~~~
23612361
// world.rs
23622362
#[link(name = "world", vers = "1.0")];
2363-
fn explore() -> ~str { ~"world" }
2363+
pub fn explore() -> ~str { ~"world" }
23642364
~~~~
23652365

23662366
~~~~ {.xfail-test}

0 commit comments

Comments
 (0)