diff options
author | Daniel Mueller <deso@posteo.net> | 2019-12-31 08:47:07 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-12-31 08:47:07 -0800 |
commit | 63d4197570e1066805bf76f6bc466fb5eb294036 (patch) | |
tree | 4d65c32d4ba87052bf438ec0b800a7617d4dc9ae /nitrocli/src/pinentry.rs | |
parent | 476cbd7238b0a4a0fd842ca5be7706f19c936a12 (diff) | |
download | nitrocli-63d4197570e1066805bf76f6bc466fb5eb294036.tar.gz nitrocli-63d4197570e1066805bf76f6bc466fb5eb294036.tar.bz2 |
Update minimum required Rust version to 1.35.0
This change updates the minimum required version of Rust to 1.35.0. The
motivation for doing so is at least two fold. First, next we want to
bump the nitrokey crate to version 0.4.0 and it requires Rust 1.34.0 as
a minimum. Second, and perhaps more importantly, though, in 1.34.0 a
clippy lint regressed, breaking our pipeline. That is the reason why we
are going to 1.35.0 instead.
Diffstat (limited to 'nitrocli/src/pinentry.rs')
-rw-r--r-- | nitrocli/src/pinentry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index af28e2d..fd47657 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -1,7 +1,7 @@ // pinentry.rs // ************************************************************************* -// * Copyright (C) 2017-2019 Daniel Mueller (deso@posteo.net) * +// * Copyright (C) 2017-2020 Daniel Mueller (deso@posteo.net) * // * * // * This program is free software: you can redistribute it and/or modify * // * it under the terms of the GNU General Public License as published by * @@ -357,7 +357,7 @@ mod tests { let response = "ERR ".to_string() + error + "\n"; let expected = error; - let error = parse_pinentry_pin(response.to_string()); + let error = parse_pinentry_pin(response); if let Error::Error(ref e) = error.err().unwrap() { assert_eq!(e, &expected); |