From c586bf21aa56ec6ec0619137155c4cc83334808f Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 4 Aug 2014 09:58:09 +0200 Subject: [PATCH] Rename modules.rs to main.rs in guide --- src/doc/guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index dc497d49edece..c00020a8c000d 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -2565,9 +2565,9 @@ It gives an error: ```{notrust,ignore} Compiling modules v0.1.0 (file:/home/you/projects/modules) -src/modules.rs:2:5: 2:23 error: function `print_hello` is private -src/modules.rs:2 hello::print_hello(); - ^~~~~~~~~~~~~~~~~~ +src/main.rs:2:5: 2:23 error: function `print_hello` is private +src/main.rs:2 hello::print_hello(); + ^~~~~~~~~~~~~~~~~~ ``` To make it public, we use the `pub` keyword: