misc: update warning name

This commit is contained in:
Kat Marchán 2023-01-28 14:11:48 -08:00
parent 7afcb8d649
commit 7104df66dd
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ impl Reader {
pub fn check(self) -> Result<Algorithm> {
self.reader.check()
}
/// Opens a new file handle into the cache, looking it up in the index using
/// `key`.
///

View File

@ -121,7 +121,7 @@
//! Ok(())
//! }
//! ```
#![warn(missing_docs, missing_doc_code_examples)]
#![warn(missing_docs, rustdoc::missing_doc_code_examples)]
#[cfg(not(any(feature = "async-std", feature = "tokio-runtime")))]
compile_error!("Either feature \"async-std\" or \"tokio-runtime\" must be enabled for this crate.");