You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-17 06:37:34 +02:00
Fix broken module example (#983)
The module is external, so it should not have curly braces.
This commit is contained in:
@ -62,7 +62,7 @@ pub fn harvest(garden: &mut Garden) { todo!() }
|
|||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
#[path = "some/path.rs"]
|
#[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
|
This is useful, for example, if you would like to place tests for a module in a file named
|
||||||
|
Reference in New Issue
Block a user