1
Fork 0

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 // world.rs
#[link(name = "world", vers = "1.0")]; #[link(name = "world", vers = "1.0")];
fn explore() -> ~str { ~"world" } pub fn explore() -> ~str { ~"world" }
~~~~ ~~~~
~~~~ {.xfail-test} ~~~~ {.xfail-test}