aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2019-02-12 19:48:53 +0100
committerHarald Eilertsen <haraldei@anduin.net>2019-02-12 19:48:53 +0100
commite09189895bb4440c2c3434d5770f9f9a8bcd8f03 (patch)
treed1840a14c78026a9064aeec38c5b2f0958192df0 /src
parentb2724047de1b8e769e85811c4476a159578e5487 (diff)
downloadcheckpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.tar.gz
checkpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.tar.bz2
checkpw-e09189895bb4440c2c3434d5770f9f9a8bcd8f03.zip
Remove unused field pw.
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
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,
}