diff --git a/tachys/src/ssr/mod.rs b/tachys/src/ssr/mod.rs index a80ea7b52..8a940c8ac 100644 --- a/tachys/src/ssr/mod.rs +++ b/tachys/src/ssr/mod.rs @@ -461,9 +461,7 @@ impl Stream for StreamBuilder { if this.sync_buf.is_empty() { Poll::Pending } else { - Poll::Ready(Some(mem::take( - &mut this.sync_buf, - ))) + Poll::Ready(Some(mem::take(&mut this.sync_buf))) } } }