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() {