diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-02-12 19:48:53 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-02-12 19:48:53 +0100 |
commit | e09189895bb4440c2c3434d5770f9f9a8bcd8f03 (patch) | |
tree | d1840a14c78026a9064aeec38c5b2f0958192df0 | |
parent | b2724047de1b8e769e85811c4476a159578e5487 (diff) | |
download | checkpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.tar.gz checkpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.tar.bz2 checkpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.zip |
Remove unused field pw.
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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, } |