add missing pub from multifile example in sec 12.3
This commit is contained in:
parent
4dc67c5e6a
commit
a92c3db0b3
1 changed files with 1 additions and 1 deletions
|
@ -2360,7 +2360,7 @@ these two files:
|
|||
~~~~
|
||||
// world.rs
|
||||
#[link(name = "world", vers = "1.0")];
|
||||
fn explore() -> ~str { ~"world" }
|
||||
pub fn explore() -> ~str { ~"world" }
|
||||
~~~~
|
||||
|
||||
~~~~ {.xfail-test}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue