refactor: harden clippy lints

This commit is contained in:
seth 2024-01-27 23:18:35 -05:00
parent 2b3d81cfa4
commit a4abdd72e4
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
19 changed files with 39 additions and 37 deletions

View file

@ -1,4 +1,4 @@
use crate::api::rory::get_rory;
use crate::api::rory;
use crate::Context;
use color_eyre::eyre::Result;
@ -11,7 +11,7 @@ pub async fn rory(
ctx: Context<'_>,
#[description = "specify a Rory ID"] id: Option<u64>,
) -> Result<()> {
let rory = get_rory(id).await?;
let rory = rory::get(id).await?;
let embed = {
let embed = CreateEmbed::new();