diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2022-12-15 17:53:36 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2022-12-23 10:52:57 +0100 |
commit | f4d4c9804a29d69ad7b88147c07f5d2639fb7d88 (patch) | |
tree | 4163119d7e22171b73f13e6f3edc3ce90be9cec5 /openpgp/src/macros.rs | |
parent | 75bb553e573da523c78ef33a4b92bd57f34c73b2 (diff) |
Port to Rust Edition 2021.
Diffstat (limited to 'openpgp/src/macros.rs')
-rw-r--r-- | openpgp/src/macros.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/macros.rs b/openpgp/src/macros.rs index 8a84f3bb..aa316480 100644 --- a/openpgp/src/macros.rs +++ b/openpgp/src/macros.rs @@ -13,7 +13,6 @@ macro_rules! trace { // Converts an indentation level to whitespace. pub(crate) fn indent(i: isize) -> &'static str { - use std::convert::TryFrom; let s = " "; &s[0..cmp::min(usize::try_from(i).unwrap_or(0), s.len())] } |