From 298e956a199711b65ce3820931ca943108b78225 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 13 Sep 2022 12:48:54 +0200 Subject: undo needless change --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server.rs b/src/server.rs index f9eb121..cd367c4 100644 --- a/src/server.rs +++ b/src/server.rs @@ -132,7 +132,7 @@ impl ServerConn { let handler_opt = { let endpoints = self.netapp.endpoints.read().unwrap(); - endpoints.get(&path[..]).map(|e| e.clone_endpoint()) + endpoints.get(&path).map(|e| e.clone_endpoint()) }; if let Some(handler) = handler_opt { -- cgit v1.2.3