aboutsummaryrefslogtreecommitdiff
path: root/reference_impl
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2023-03-25 16:02:01 -0700
committerJack O'Connor <[email protected]>2023-03-25 16:36:37 -0700
commita9750c7fec924db6a20fc87fa90269cdecbe75bd (patch)
tree620b9ff7c74b3b2bdb2a9e543c12924a882cd60f /reference_impl
parent64747d48ffe9d1fbf4b71e94cabeb8a211461081 (diff)
upgrade all Cargo.toml files to edition=2021
The MSRV is already 1.60, so this doesn't affect much. The only impact to other code is that we no longer need to explicitly import TryInto.
Diffstat (limited to 'reference_impl')
-rw-r--r--reference_impl/Cargo.toml2
-rw-r--r--reference_impl/reference_impl.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/reference_impl/Cargo.toml b/reference_impl/Cargo.toml
index 8c81e5a..e269fe9 100644
--- a/reference_impl/Cargo.toml
+++ b/reference_impl/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "reference_impl"
version = "0.0.0"
-edition = "2018"
+edition = "2021"
[lib]
name = "reference_impl"
diff --git a/reference_impl/reference_impl.rs b/reference_impl/reference_impl.rs
index 83ac795..72ad525 100644
--- a/reference_impl/reference_impl.rs
+++ b/reference_impl/reference_impl.rs
@@ -18,7 +18,6 @@
//! ```
use core::cmp::min;
-use core::convert::TryInto;
const OUT_LEN: usize = 32;
const KEY_LEN: usize = 32;