From 03ee74b6dae3562785b6bbdedf45d9994de417d6 Mon Sep 17 00:00:00 2001 From: Tangent 128 Date: Mon, 23 Sep 2019 16:34:28 -0400 Subject: [PATCH] Fix dyn syntax warning. --- src/commands/filter.rs | 2 +- src/commands/send.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/filter.rs b/src/commands/filter.rs index 55c9ee4..0aa0cfc 100644 --- a/src/commands/filter.rs +++ b/src/commands/filter.rs @@ -27,7 +27,7 @@ pub fn options() -> App<'static, 'static> { } pub fn run(args: &ArgMatches) -> Result<(), WebmetroError> { - let mut chunk_stream: Box + Send> = Box::new( + let mut chunk_stream: Box + Send> = Box::new( stdin_stream() .parse_ebml() .chunk_webm() diff --git a/src/commands/send.rs b/src/commands/send.rs index a16adee..5009a9e 100644 --- a/src/commands/send.rs +++ b/src/commands/send.rs @@ -34,7 +34,7 @@ pub fn options() -> App<'static, 'static> { .help("Slow down upload to \"real time\" speed as determined by the timestamps (useful for streaming static files)")) } -type BoxedChunkStream = Box + Send>; +type BoxedChunkStream = Box + Send>; pub fn run(args: &ArgMatches) -> Result<(), WebmetroError> { let mut chunk_stream: BoxedChunkStream = Box::new(