fix match &*server_type {
diff --git a/test/rs/src/bin/test_server.rs b/test/rs/src/bin/test_server.rs
index ececc83..aa8191c 100644
--- a/test/rs/src/bin/test_server.rs
+++ b/test/rs/src/bin/test_server.rs
@@ -114,7 +114,7 @@
 
     let test_processor = ThriftTestSyncProcessor::new(ThriftTestSyncHandlerImpl {});
 
-    match &*server_type {
+    match server_type {
         "simple" | "thread-pool" => {
             if protocol == "multi" || protocol == "multic" {
                 let second_service_processor =