From 4835474c8294d120978f1301ab2ac2f1dcfe8bf7 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Tue, 23 Aug 2016 16:04:04 -0400 Subject: [PATCH] Oops, this comment needs to be a rust comment --- src/chYY-YY-public-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chYY-YY-public-api.md b/src/chYY-YY-public-api.md index 4b7228b58..b5261de47 100644 --- a/src/chYY-YY-public-api.md +++ b/src/chYY-YY-public-api.md @@ -11,7 +11,7 @@ organization, you can re-export items in the way you want them to be organized. To re-export a name, combine the `pub` keyword with `use`: ```rust -# fn main() {} # this doesn't work if it's inside main +# fn main() {} // this ex needs to be outside main mod a { pub mod namespace { pub fn function() {}