summaryrefslogtreecommitdiff
path: root/src/bin/roughenough-server.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2019-08-18 09:56:24 -0500
committerStuart Stock <stuart@int08h.com>2019-08-18 09:56:24 -0500
commit6d1afbaf4ed3b41fe7945366ec8d915fbeab10da (patch)
tree11e453a1696b0fdba33e1c17331d5cebb51bbd38 /src/bin/roughenough-server.rs
parentbbf13c7d20e22d53b1dcc5f3179fbae3de62726b (diff)
downloadroughenough-6d1afbaf4ed3b41fe7945366ec8d915fbeab10da.zip
minor changes to compile cleanly on Rust 1.37.0
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