mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-01-23 23:50:25 +08:00
Em dash instead of hyphens
This commit is contained in:
parent
4e2b29c0bf
commit
0450d6aacc
@ -305,7 +305,7 @@ Notice that we still have a `mod` declaration within this module file;
|
||||
this is because we still want `server` to be a sub-module of `network`.
|
||||
|
||||
Now run `cargo build` again. Success! We have one more module to extract:
|
||||
`server`. Because it's a sub-module---that is, a module within a module---our
|
||||
`server`. Because it's a sub-module—that is, a module within a module—our
|
||||
current tactic of extracting a module into a file named after that module won't
|
||||
work. We're going to try anyway so that we can see the error. First change
|
||||
*src/network.rs* to have `mod server;` instead of the `server` module's
|
||||
|
Loading…
Reference in New Issue
Block a user