We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e3445c commit ae0e3cdCopy full SHA for ae0e3cd
1 file changed
src/lib.rs
@@ -172,7 +172,7 @@
172
//! Records logged during `cargo test` will not be captured by the test harness by default.
173
//! The [`Builder::is_test`] method can be used in unit tests to ensure logs will be captured:
174
//!
175
-//! ```
+//! ```test_harness
176
//! #[cfg(test)]
177
//! mod tests {
178
//! use log::info;
@@ -281,6 +281,7 @@
281
#![cfg_attr(docsrs, feature(doc_cfg))]
282
#![warn(clippy::print_stderr)]
283
#![warn(clippy::print_stdout)]
284
+#![allow(clippy::test_attr_in_doctest)]
285
286
mod logger;
287
mod writer;
0 commit comments