summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/credential/cargo-credential/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/credential/cargo-credential/examples')
-rw-r--r--src/tools/cargo/credential/cargo-credential/examples/stdout-redirected.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/cargo/credential/cargo-credential/examples/stdout-redirected.rs b/src/tools/cargo/credential/cargo-credential/examples/stdout-redirected.rs
index 75a2d16d1..fb7c0446c 100644
--- a/src/tools/cargo/credential/cargo-credential/examples/stdout-redirected.rs
+++ b/src/tools/cargo/credential/cargo-credential/examples/stdout-redirected.rs
@@ -1,5 +1,8 @@
//! Provider used for testing redirection of stdout.
+#![allow(clippy::print_stderr)]
+#![allow(clippy::print_stdout)]
+
use cargo_credential::{Action, Credential, CredentialResponse, Error, RegistryInfo};
struct MyCredential;