diff --git a/crates/wasi-common/src/sandboxed_tty_writer.rs b/crates/wasi-common/src/sandboxed_tty_writer.rs index 3c37f7435f09..2f927d0d2f90 100644 --- a/crates/wasi-common/src/sandboxed_tty_writer.rs +++ b/crates/wasi-common/src/sandboxed_tty_writer.rs @@ -17,9 +17,7 @@ where { /// Construct a new `SandboxedTTYWriter` with the given inner `Writer`. pub(crate) fn new(inner: &'writer mut Writer) -> Self { - Self { - inner, - } + Self { inner } } /// Write a single character to the output.