Skip to content

Commit

Permalink
Merge pull request #1347 from n-eq/patch-1
Browse files Browse the repository at this point in the history
Fix coding style in example: add space between module name and bracket
  • Loading branch information
ehuss committed Apr 6, 2023
2 parents fcc12c7 + fc61be0 commit 5c328ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ check on and off:

```rust
#[warn(missing_docs)]
pub mod m2{
pub mod m2 {
#[allow(missing_docs)]
pub mod nested {
// Missing documentation is ignored here
Expand Down

0 comments on commit 5c328ef

Please sign in to comment.