Skip to content

Commit

Permalink
Don't wrap this example in main when copying. Fixes #2930.
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Mar 29, 2022
1 parent 5d4a2ae commit 355b27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch07-05-separating-modules-into-different-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Then we create a *src/front_of_house* directory and a file

<span class="filename">Filename: src/front_of_house/hosting.rs</span>

```rust
```rust,ignore
{{#rustdoc_include ../listings/ch07-managing-growing-projects/no-listing-02-extracting-hosting/src/front_of_house/hosting.rs}}
```

Expand Down

0 comments on commit 355b27d

Please sign in to comment.