update rust to 1.93 (#1865)

This commit is contained in:
KKRainbow
2026-02-04 09:48:43 +08:00
committed by GitHub
parent aebb7facfa
commit c58140fb47
12 changed files with 81 additions and 82 deletions
+3 -6
View File
@@ -1377,12 +1377,9 @@ impl PeerManager {
.config
.get_proxy_cidrs()
.into_iter()
.map(|x| {
if x.mapped_cidr.is_none() {
x.cidr.to_string()
} else {
format!("{}->{}", x.cidr, x.mapped_cidr.unwrap())
}
.map(|x| match x.mapped_cidr {
None => x.cidr.to_string(),
Some(mapped) => format!("{}->{}", x.cidr, mapped),
})
.collect(),
hostname: self.global_ctx.get_hostname(),