mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
Fixed item typo which did not need prefix
This commit is contained in:
@@ -112,7 +112,7 @@ This lint is **allowed by default**. It detects items missing documentation.
|
||||
For example:
|
||||
|
||||
```rust
|
||||
#![warn(rustdoc::missing_docs)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
pub fn undocumented() {}
|
||||
# fn main() {}
|
||||
|
||||
Reference in New Issue
Block a user