Skip to content

Commit ae0e3cd

Browse files
committed
style: Make clippy happy
1 parent 0e3445c commit ae0e3cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
//! Records logged during `cargo test` will not be captured by the test harness by default.
173173
//! The [`Builder::is_test`] method can be used in unit tests to ensure logs will be captured:
174174
//!
175-
//! ```
175+
//! ```test_harness
176176
//! #[cfg(test)]
177177
//! mod tests {
178178
//! use log::info;
@@ -281,6 +281,7 @@
281281
#![cfg_attr(docsrs, feature(doc_cfg))]
282282
#![warn(clippy::print_stderr)]
283283
#![warn(clippy::print_stdout)]
284+
#![allow(clippy::test_attr_in_doctest)]
284285

285286
mod logger;
286287
mod writer;

0 commit comments

Comments
 (0)