diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-07 21:08:16 +0200 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-04-09 13:13:59 +0200 |
commit | a58579221bc8c4fbeba89bd55644415fe0368117 (patch) | |
tree | 0e2392e3b6c9b44b89de2058d9755ebde7993e24 /sq | |
parent | 73b3321d98e0298dba5d4ef63e8058a01cc2943c (diff) |
Lint: Remove unecessary imports.
- https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
Diffstat (limited to 'sq')
-rw-r--r-- | sq/src/commands/decrypt.rs | 1 | ||||
-rw-r--r-- | sq/src/commands/inspect.rs | 2 | ||||
-rw-r--r-- | sq/src/commands/mod.rs | 1 | ||||
-rw-r--r-- | sq/tests/sq-certify.rs | 2 | ||||
-rw-r--r-- | sq/tests/sq-sign.rs | 2 |
5 files changed, 1 insertions, 7 deletions
diff --git a/sq/src/commands/decrypt.rs b/sq/src/commands/decrypt.rs index adf66e44..5a8a038e 100644 --- a/sq/src/commands/decrypt.rs +++ b/sq/src/commands/decrypt.rs @@ -1,7 +1,6 @@ use anyhow::Context as _; use std::collections::HashMap; use std::io; -use rpassword; use sequoia_openpgp as openpgp; use crate::openpgp::types::SymmetricAlgorithm; diff --git a/sq/src/commands/inspect.rs b/sq/src/commands/inspect.rs index fa990951..e6e86d01 100644 --- a/sq/src/commands/inspect.rs +++ b/sq/src/commands/inspect.rs @@ -1,7 +1,7 @@ use std::convert::TryFrom; use std::io::{self, Read}; -use clap; + use sequoia_openpgp as openpgp; use crate::openpgp::{KeyHandle, Packet, Result}; diff --git a/sq/src/commands/mod.rs b/sq/src/commands/mod.rs index 3a9630ed..c216d35e 100644 --- a/sq/src/commands/mod.rs +++ b/sq/src/commands/mod.rs @@ -4,7 +4,6 @@ use std::collections::{HashMap, HashSet}; use std::fs::File; use std::io::{self, Write}; use std::time::SystemTime; -use rpassword; use sequoia_openpgp as openpgp; use crate::openpgp::{ diff --git a/sq/tests/sq-certify.rs b/sq/tests/sq-certify.rs index 4fddb136..128b4ed8 100644 --- a/sq/tests/sq-certify.rs +++ b/sq/tests/sq-certify.rs @@ -1,9 +1,7 @@ use std::fs::File; use std::time::Duration; -use assert_cli; use assert_cli::Assert; -use tempfile; use tempfile::TempDir; use sequoia_openpgp as openpgp; diff --git a/sq/tests/sq-sign.rs b/sq/tests/sq-sign.rs index 0efef3ab..4836e2fe 100644 --- a/sq/tests/sq-sign.rs +++ b/sq/tests/sq-sign.rs @@ -1,9 +1,7 @@ use std::fs::{self, File}; use std::io; -use assert_cli; use assert_cli::Assert; -use tempfile; use tempfile::TempDir; use sequoia_openpgp as openpgp; |