From 70012e300bd9b9133ff4c4832dcd02d68e923eec Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Mon, 7 Jun 2021 21:35:57 -0700 Subject: [PATCH] remove unnecessary parens (the braces were added by "cargo fmt", making the parens redundant) --- src/codec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codec/mod.rs b/src/codec/mod.rs index 8ac284b..82710d1 100644 --- a/src/codec/mod.rs +++ b/src/codec/mod.rs @@ -388,7 +388,7 @@ impl Depacketizer { DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 5)) } ("audio", "pcma") | ("audio", "pcmu") | ("audio", "u8") | ("audio", "g722") => { - (DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 8))) + DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 8)) } ("audio", "l16") => { DepacketizerInner::SimpleAudio(simple_audio::Depacketizer::new(clock_rate, 16))