mirror of https://github.com/zkat/cacache-rs.git
misc: update warning name
This commit is contained in:
parent
7afcb8d649
commit
7104df66dd
|
|
@ -69,6 +69,7 @@ impl Reader {
|
||||||
pub fn check(self) -> Result<Algorithm> {
|
pub fn check(self) -> Result<Algorithm> {
|
||||||
self.reader.check()
|
self.reader.check()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Opens a new file handle into the cache, looking it up in the index using
|
/// Opens a new file handle into the cache, looking it up in the index using
|
||||||
/// `key`.
|
/// `key`.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@
|
||||||
//! Ok(())
|
//! 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")))]
|
#[cfg(not(any(feature = "async-std", feature = "tokio-runtime")))]
|
||||||
compile_error!("Either feature \"async-std\" or \"tokio-runtime\" must be enabled for this crate.");
|
compile_error!("Either feature \"async-std\" or \"tokio-runtime\" must be enabled for this crate.");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue