mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-15 22:37:28 +02:00
Fix broken module example (#983)
The module is external, so it should not have curly braces.
This commit is contained in:
parent
ab5988180b
commit
79ae681f78
@ -62,7 +62,7 @@ pub fn harvest(garden: &mut Garden) { todo!() }
|
||||
|
||||
```rust,ignore
|
||||
#[path = "some/path.rs"]
|
||||
mod some_module { }
|
||||
mod some_module;
|
||||
```
|
||||
|
||||
This is useful, for example, if you would like to place tests for a module in a file named
|
||||
|
Loading…
Reference in New Issue
Block a user