diff --git a/src/ui.rs b/src/ui.rs index 2cfd9af0e..56119f447 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -239,9 +239,9 @@ enum UiOutputPair { } /// Wrapper to implement `Write` for locked `Box`. -struct DynWriteLock<'a, 'output>(MutexGuard<'a, Box>); +struct DynWriteLock<'a, T>(MutexGuard<'a, T>); -impl Write for DynWriteLock<'_, '_> { +impl Write for DynWriteLock<'_, T> { fn write(&mut self, buf: &[u8]) -> io::Result { self.0.write(buf) }