summaryrefslogtreecommitdiff
path: root/src/bin/roughenough-server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/roughenough-server.rs')
-rw-r--r--src/bin/roughenough-server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/roughenough-server.rs b/src/bin/roughenough-server.rs
index c9301d1..8a086e7 100644
--- a/src/bin/roughenough-server.rs
+++ b/src/bin/roughenough-server.rs
@@ -43,7 +43,7 @@ macro_rules! check_ctrlc {
};
}
-fn polling_loop(config: Box<ServerConfig>) {
+fn polling_loop(config: Box<dyn ServerConfig>) {
let mut server = Server::new(config);
let cfg = server.get_config(); // borrow config that was moved above