Simplify MutexMap generic constraints.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-01-13 07:33:31 +00:00
parent 05898034e5
commit cf8b57b751
3 changed files with 14 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ impl super::Service {
return Ok((result, true));
}
let _dedup = self.resolving.lock(server_name.as_str());
let _dedup = self.resolving.lock(server_name);
if let Ok(result) = self.cache.get_destination(server_name).await {
return Ok((result, true));
}