From 3b4852c6978da0175deedc54a1efa135781b94c6 Mon Sep 17 00:00:00 2001 From: Terry Sun Date: Thu, 2 Feb 2017 19:27:22 -0500 Subject: [PATCH] Change "File:" to "Filename:" for consistency --- src/ch07-01-mod-and-the-filesystem.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ch07-01-mod-and-the-filesystem.md b/src/ch07-01-mod-and-the-filesystem.md index 193877f9b..22183f218 100644 --- a/src/ch07-01-mod-and-the-filesystem.md +++ b/src/ch07-01-mod-and-the-filesystem.md @@ -170,7 +170,7 @@ multiple files to split Rust projects up so that not everything lives in *src/lib.rs*. For this example, we will start with this code in *src/lib.rs*:
-File: src/lib.rs +Filename: src/lib.rs ```rust mod client { @@ -213,7 +213,7 @@ This would be a good reason to pull each of the `client`, `network`, and extracting the `client` module into another file. First, replace the `client` module code in *src/lib.rs* with the following: -File: src/lib.rs +Filename: src/lib.rs ```rust,ignore mod client; @@ -241,7 +241,7 @@ So now we need to create the external file with that module name. Create a following, which is the `connect` function in the `client` module that we removed in the previous step: -File: src/client.rs +Filename: src/client.rs ```rust fn connect() {