diff options
author | Alex Auvolat <alex@adnab.me> | 2022-09-13 12:48:54 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-09-13 12:48:54 +0200 |
commit | 298e956a199711b65ce3820931ca943108b78225 (patch) | |
tree | a49a199a1049d18afaa60f47f46e04cb798aa4b2 /src | |
parent | 395f942fc745f5947005cad3a0e2ac15403fdbc9 (diff) | |
download | netapp-stream-body.tar.gz netapp-stream-body.zip |
undo needless changestream-body
Diffstat (limited to 'src')
-rw-r--r-- | src/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |