From 0a3d10e7915b9a6ee4b47aa29c46ad831123703d Mon Sep 17 00:00:00 2001 From: hongcha Date: Mon, 5 Feb 2024 01:16:12 +0800 Subject: [PATCH] check: clippy --- libs/libwish/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libwish/src/lib.rs b/libs/libwish/src/lib.rs index 600d90cc..13243825 100644 --- a/libs/libwish/src/lib.rs +++ b/libs/libwish/src/lib.rs @@ -84,7 +84,7 @@ impl Client { let mut ice_servers = vec![]; for link in links { let mut link = link.to_str()?.to_owned(); - link = link.replacen(":", "://", 1); + link = link.replacen(':', "://", 1); let link_header = parse_link_header::parse_with_rel(&link)?; for (rel, mut link) in link_header { if &rel != "ice-server" {