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 00:13:40 +0100 |
commit | b7083ea292f93db58faf889ec7c9e7e6d431d07d (patch) | |
tree | 51536403075f0f3edb1400b536012c8c7bd26661 | |
parent | 06dddde996d3c1c02cd36f4fe21fa4eb30069670 (diff) |
openpgp: Remove redundant call.justus/investigate-1064
- This triggers a warning in rustc 1.73, and thus is an error for
us.
-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 { |