Update lint name to follow convention

This commit is contained in:
Guillaume Gomez 2020-03-22 13:04:23 +01:00
parent 966400253b
commit be97eb4ece
4 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,3 @@
#![deny(missing_crate_level_doc)]
#![deny(missing_crate_level_docs)]
pub fn foo() {}

View file

@ -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