From f6d25fbfcff262d11365eda2f7301f904cec2c46 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 29 Dec 2024 01:18:34 +0100 Subject: [PATCH] Clean up imports --- euphoxide-bot/src/command.rs | 7 +++++-- euphoxide/src/nick.rs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/euphoxide-bot/src/command.rs b/euphoxide-bot/src/command.rs index d7150fe..c38eea8 100644 --- a/euphoxide-bot/src/command.rs +++ b/euphoxide-bot/src/command.rs @@ -7,8 +7,6 @@ pub mod clap; use std::{future::Future, sync::Arc}; use async_trait::async_trait; -use bang::{General, Global, Specific}; -use basic::{Described, Prefixed}; use euphoxide::{ api::{self, Data, Message, MessageId, SendEvent, SendReply}, client::{ @@ -18,6 +16,11 @@ use euphoxide::{ }; use euphoxide_client::{Client, MultiClient, MultiClientEvent}; +use self::{ + bang::{General, Global, Specific}, + basic::{Described, Prefixed}, +}; + #[non_exhaustive] pub struct Context { pub commands: Arc>, diff --git a/euphoxide/src/nick.rs b/euphoxide/src/nick.rs index ddf5d66..7e23201 100644 --- a/euphoxide/src/nick.rs +++ b/euphoxide/src/nick.rs @@ -3,7 +3,7 @@ use caseless::Caseless; use unicode_normalization::UnicodeNormalization; -use crate::emoji::Emoji; +use crate::Emoji; fn hue_normalize(emoji: &Emoji, text: &str) -> String { emoji