diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-11-03 00:13:40 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-11-03 10:16:12 +0100 |
commit | 967f9189aa65e4c8eca988280a52913b5936e9d8 (patch) | |
tree | 3bdd8ad12d7783880d8f241f9963a690e9485c32 /openpgp/src | |
parent | 70600b5dda833b31e33015a818208dd9d3fb50d1 (diff) |
openpgp: Remove redundant call.
- This triggers a warning in rustc 1.73, and thus is an error for
us.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/regex/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openpgp/src/regex/mod.rs b/openpgp/src/regex/mod.rs index c2a6b93f..2581f425 100644 --- a/openpgp/src/regex/mod.rs +++ b/openpgp/src/regex/mod.rs @@ -1092,7 +1092,6 @@ impl RegexSet { /// ``` pub fn matches_userid(&self, u: &UserID) -> bool { - let u = u.borrow(); if let Ok(u) = std::str::from_utf8(u.value()) { self.is_match(u) } else { |