Commit 0f917c4aac56f4d58a32db0b1c861a8c2c5a8079

constantoine 2022-10-10T11:15:57

Fix warning Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/lib.rs b/src/lib.rs
index 9e4316b..329002d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1064,8 +1064,6 @@ mod tests {
     #[test]
     #[cfg(feature = "qr")]
     fn generates_qr_ok() {
-        use sha2::{Digest, Sha512};
-
         let totp = TOTP::new(
             Algorithm::SHA1,
             6,