Fix warning
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
This commit is contained in:
parent
0131d7e077
commit
0f917c4aac
|
@ -1064,8 +1064,6 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(feature = "qr")]
|
#[cfg(feature = "qr")]
|
||||||
fn generates_qr_ok() {
|
fn generates_qr_ok() {
|
||||||
use sha2::{Digest, Sha512};
|
|
||||||
|
|
||||||
let totp = TOTP::new(
|
let totp = TOTP::new(
|
||||||
Algorithm::SHA1,
|
Algorithm::SHA1,
|
||||||
6,
|
6,
|
||||||
|
|
Loading…
Reference in New Issue