From 7104df66ddc5000c336a485bb13f2941f7c75d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sat, 28 Jan 2023 14:11:48 -0800 Subject: [PATCH] misc: update warning name --- src/get.rs | 1 + src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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.");