chore: Move print lints to lib.rs

While there is a config for ignoring these in tests, it doesn't help
with examples.
This commit is contained in:
Ed Page 2024-03-28 15:10:58 -05:00
parent 8d4b1b6c8d
commit 99e034bbbb
2 changed files with 2 additions and 2 deletions

View file

@ -73,8 +73,6 @@ needless_continue = "warn"
needless_for_each = "warn" needless_for_each = "warn"
negative_feature_names = "warn" negative_feature_names = "warn"
path_buf_push_overwrite = "warn" path_buf_push_overwrite = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_as_ptr = "warn" ptr_as_ptr = "warn"
rc_mutex = "warn" rc_mutex = "warn"
redundant_feature_names = "warn" redundant_feature_names = "warn"

View file

@ -1,4 +1,6 @@
//! > DESCRIPTION //! > DESCRIPTION
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(clippy::print_stderr)]
#![warn(clippy::print_stdout)]
#![allow(non_snake_case)] // TODO: Delete me #![allow(non_snake_case)] // TODO: Delete me