From a92c3db0b34905e7a828bb72931b791818a02b6b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 16 Oct 2012 20:19:34 -0700 Subject: [PATCH] add missing pub from multifile example in sec 12.3 --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 8746cf026f9..645e150b40a 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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}