diff --git a/src/get.rs b/src/get.rs index b29cae3..618c83d 100644 --- a/src/get.rs +++ b/src/get.rs @@ -69,6 +69,7 @@ impl Reader { pub fn check(self) -> Result { self.reader.check() } + /// Opens a new file handle into the cache, looking it up in the index using /// `key`. /// diff --git a/src/lib.rs b/src/lib.rs index a87f0b4..cfd55b6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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.");