From dbd4886a4f9ae2d4fca5a71b6256f3b664ca3684 Mon Sep 17 00:00:00 2001 From: August Date: Wed, 6 May 2026 19:30:50 -0400 Subject: [PATCH] Stable features only --- src/config_parser.rs | 1 + src/main.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_parser.rs b/src/config_parser.rs index 267bcfb..c3d3c2d 100644 --- a/src/config_parser.rs +++ b/src/config_parser.rs @@ -25,6 +25,7 @@ pub fn build_handlers(conf: Config) -> Vec> { assert_eq!(conf.version, "0.1.0"); let mut results: Vec> = vec![]; for item in conf.entries { + #[allow(clippy::single_match)] match item.handler_type.as_str() { "minecraft" => results.push(Box::new(handlers::minecraft::Server::new( item.token, diff --git a/src/main.rs b/src/main.rs index e4e8a47..e0abff8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,3 @@ -#![feature(impl_trait_in_bindings)] mod bot_runner; mod config_parser; mod handlers;