summaryrefslogtreecommitdiff
path: root/openssl/src/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/string.rs')
-rw-r--r--openssl/src/string.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl/src/string.rs b/openssl/src/string.rs
index f20e8434..5dd1f1ae 100644
--- a/openssl/src/string.rs
+++ b/openssl/src/string.rs
@@ -18,13 +18,13 @@ foreign_type_and_impl_send_sync! {
}
impl fmt::Display for OpensslString {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Display::fmt(&**self, f)
}
}
impl fmt::Debug for OpensslString {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Debug::fmt(&**self, f)
}
}
@@ -69,13 +69,13 @@ impl AsRef<[u8]> for OpensslStringRef {
}
impl fmt::Display for OpensslStringRef {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Display::fmt(&**self, f)
}
}
impl fmt::Debug for OpensslStringRef {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
fmt::Debug::fmt(&**self, f)
}
}