From 4c67100b714c4708a514d2cb26f03426af8363f1 Mon Sep 17 00:00:00 2001 From: Xyon Date: Thu, 24 Aug 2023 23:37:56 +0100 Subject: [PATCH] Resolve the last couple of warnings --- src/badgey/commands/mod.rs | 4 ++-- src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/badgey/commands/mod.rs b/src/badgey/commands/mod.rs index 71e6388..4daba73 100644 --- a/src/badgey/commands/mod.rs +++ b/src/badgey/commands/mod.rs @@ -1,5 +1,5 @@ -use manifold::{ManifoldContext, ManifoldData}; -use manifold::error::{ManifoldError, ManifoldResult}; +use manifold::{ManifoldData}; +use manifold::error::{ManifoldError}; use poise::Command; pub fn collect_commands() -> Vec> { diff --git a/src/main.rs b/src/main.rs index eea0d47..651bd52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ #![feature(string_remove_matches)] -#[macro_use] extern crate diesel; -#[macro_use] extern crate diesel_migrations; +extern crate diesel; +extern crate diesel_migrations; #[macro_use] extern crate log; pub mod badgey;