add missing pub from multifile example in sec 12.3

This commit is contained in:
Niko Matsakis 2012-10-16 20:19:34 -07:00
parent 4dc67c5e6a
commit a92c3db0b3

View File

@ -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}