Skip to content

Commit 5c328ef

Browse files
authored
Merge pull request #1347 from n-eq/patch-1
Fix coding style in example: add space between module name and bracket
2 parents fcc12c7 + fc61be0 commit 5c328ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/diagnostics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ check on and off:
4949

5050
```rust
5151
#[warn(missing_docs)]
52-
pub mod m2{
52+
pub mod m2 {
5353
#[allow(missing_docs)]
5454
pub mod nested {
5555
// Missing documentation is ignored here

0 commit comments

Comments
 (0)