We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebf8e77 commit da374a9Copy full SHA for da374a9
x509-cert/src/ext/pkix/name/dirstr.rs
@@ -90,7 +90,7 @@ impl<'a> der::DecodeValue<'a> for DirectoryString {
90
impl DirectoryString {
91
/// Returns `Borrowed` variant for UTF-8 compatible strings
92
/// and `Owned` variant otherwise.
93
- pub fn value<'s>(&'s self) -> Cow<'s, str> {
+ pub fn value(&self) -> Cow<'_, str> {
94
match self {
95
Self::PrintableString(s) => Cow::Borrowed(s.as_ref()),
96
Self::TeletexString(s) => Cow::Borrowed(s.as_ref()),
0 commit comments