diff --git a/webapp/src/page/mod.rs b/webapp/src/page/mod.rs index 8e097b3a4..3f357f2ee 100644 --- a/webapp/src/page/mod.rs +++ b/webapp/src/page/mod.rs @@ -92,9 +92,7 @@ impl server::Handler for PageHandler { None => (None, Next::end()), Some(f) if self.write_pos == f.content.len() => (None, Next::end()), Some(f) => match encoder.write(&f.content[self.write_pos..]) { - Ok(bytes) => { - (Some(bytes), Next::write()) - }, + Ok(bytes) => (Some(bytes), Next::write()), Err(e) => match e.kind() { ::std::io::ErrorKind::WouldBlock => (None, Next::write()), _ => (None, Next::end())