From 452645a56fc5c5b52a1b6cbcb9d2c73951257d92 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Mon, 1 Jan 2018 23:07:10 -0500 Subject: [PATCH] Fixed compilation error with no-default-features. --- src/client/server/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/server/mod.rs b/src/client/server/mod.rs index 7433558..7e6104b 100644 --- a/src/client/server/mod.rs +++ b/src/client/server/mod.rs @@ -581,7 +581,7 @@ impl ServerState { } #[cfg(not(feature = "ctcp"))] - fn handle_ctcp(&self, _: &str, _: Vec<&str>) -> error::Result<()> { + fn handle_ctcp(&self, _: &str, _: &[&str]) -> error::Result<()> { Ok(()) } }