Skip to content

Commit 99e034b

Browse files
committed
chore: Move print lints to lib.rs
While there is a config for ignoring these in tests, it doesn't help with examples.
1 parent 8d4b1b6 commit 99e034b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ needless_continue = "warn"
7373
needless_for_each = "warn"
7474
negative_feature_names = "warn"
7575
path_buf_push_overwrite = "warn"
76-
print_stderr = "warn"
77-
print_stdout = "warn"
7876
ptr_as_ptr = "warn"
7977
rc_mutex = "warn"
8078
redundant_feature_names = "warn"

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//! > DESCRIPTION
22
33
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4+
#![warn(clippy::print_stderr)]
5+
#![warn(clippy::print_stdout)]
46
#![allow(non_snake_case)] // TODO: Delete me

0 commit comments

Comments
 (0)