summary refs log tree commit diff
path: root/gpu_display
diff options
context:
space:
mode:
Diffstat (limited to 'gpu_display')
-rw-r--r--gpu_display/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu_display/src/lib.rs b/gpu_display/src/lib.rs
index 1bf9578..3067c0e 100644
--- a/gpu_display/src/lib.rs
+++ b/gpu_display/src/lib.rs
@@ -159,7 +159,7 @@ trait DisplayT: AsRawFd {
 /// The user of `GpuDisplay` can use `AsRawFd` to poll on the compositor connection's file
 /// descriptor. When the connection is readable, `dispatch_events` can be called to process it.
 pub struct GpuDisplay {
-    inner: Box<DisplayT>,
+    inner: Box<dyn DisplayT>,
 }
 
 impl GpuDisplay {