From 6d4fa46a71163eca763a24305743341a839f6409 Mon Sep 17 00:00:00 2001 From: hongcha Date: Tue, 10 Oct 2023 16:29:07 +0800 Subject: [PATCH] check: clippy --- src/media/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media/mod.rs b/src/media/mod.rs index f9fd272a..57dff1aa 100644 --- a/src/media/mod.rs +++ b/src/media/mod.rs @@ -97,7 +97,7 @@ pub fn count_send(md: &MediaDescription) -> usize { if !val.starts_with("send ") { break; } - count += val.replace("send ", "").split(";").count() - minus; + count += val.replace("send ", "").split(';').count() - minus; break; } _ => {}