Skip to content

Commit

Permalink
Alphabetically sort external crates
Browse files Browse the repository at this point in the history
  • Loading branch information
jdh8 committed May 5, 2024
1 parent ac3af5e commit 2c9cc69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ mod information;
mod tools;
mod weeb;
mod topgg;
use poise::serenity_prelude as serenity;
use anyhow::Context as _;
use poise::serenity_prelude as serenity;

#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub struct Data;
Expand Down
4 changes: 2 additions & 2 deletions src/tools/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
pub mod base64;
use anyhow::Context as _;
use crate::Context;
use csscolorparser::Color;
use poise::serenity_prelude as serenity;
use rand::seq::IteratorRandom as _;
use regex::{Captures, Regex};
use poise::serenity_prelude as serenity;
use anyhow::Context as _;

fn to_hsl_string(color: &Color) -> String {
let (h, s, l, a) = color.to_hsla();
Expand Down
2 changes: 1 addition & 1 deletion src/topgg.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::bot_id;
use tokio::sync::Mutex;
use poise::serenity_prelude as serenity;
use tokio::sync::Mutex;

#[derive(Debug, Default, Clone, Copy)]
struct Stats {
Expand Down

0 comments on commit 2c9cc69

Please sign in to comment.