Update lint name to follow convention
This commit is contained in:
parent
966400253b
commit
be97eb4ece
4 changed files with 8 additions and 8 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#![deny(missing_crate_level_doc)]
|
||||
#![deny(missing_crate_level_docs)]
|
||||
|
||||
pub fn foo() {}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ error: no documentation found for this crate's top-level module
|
|||
note: the lint level is defined here
|
||||
--> $DIR/no-crate-level-doc-lint.rs:1:9
|
||||
|
|
||||
LL | #![deny(missing_crate_level_doc)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^
|
||||
LL | #![deny(missing_crate_level_docs)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
= help: The following guide may be of use:
|
||||
https://doc.rust-lang.org/nightly/rustdoc/how-to-write-documentation.html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue