about summary refs log tree commit diff
path: root/src/libstd/sys/redox/syscall/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/redox/syscall/error.rs')
-rw-r--r--src/libstd/sys/redox/syscall/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/redox/syscall/error.rs b/src/libstd/sys/redox/syscall/error.rs
index f5b7bf75f30..da84ffb0423 100644
--- a/src/libstd/sys/redox/syscall/error.rs
+++ b/src/libstd/sys/redox/syscall/error.rs
@@ -38,13 +38,13 @@ impl Error {
 }
 
 impl fmt::Debug for Error {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         f.write_str(self.text())
     }
 }
 
 impl fmt::Display for Error {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         f.write_str(self.text())
     }
 }