about summary refs log tree commit diff
path: root/src/display/viewport.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display/viewport.rs')
-rw-r--r--src/display/viewport.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/viewport.rs b/src/display/viewport.rs
index 5ff56be0a909..9d17bc87dcff 100644
--- a/src/display/viewport.rs
+++ b/src/display/viewport.rs
@@ -68,7 +68,7 @@ impl<W> Viewport<W> {
 }
 
 impl<W> Debug for Viewport<W> {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         write!(
             f,
             "Viewport {{ outer: {:?}, inner: {:?}, out: <OUT> }}",