From e09189895bb4440c2c3434d5770f9f9a8bcd8f03 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 12 Feb 2019 19:48:53 +0100 Subject: Remove unused field pw. --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 7fe7e93..d2abe53 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,7 +53,6 @@ fn test_k_anon() { } struct Password { - pw: String, pub range: String, pub rest: String, } @@ -63,7 +62,6 @@ impl Password { let (range, rest) = to_k_anon(digest::digest(&digest::SHA1, &pw.as_bytes())); Password { - pw: String::from(pw), range: range, rest: rest, } -- cgit v1.2.3