Skip to content

Commit

Permalink
[chore] clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
seqre committed Feb 24, 2023
1 parent 79253eb commit 749ff8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/commands/todo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ use lazy_static::lazy_static;
use poise::serenity_prelude::{
ChannelId, CreateEmbed, GuildChannel, Member, MessageBuilder, UserId,
};
use time::{
format_description, format_description::FormatItem, formatting::Formattable, OffsetDateTime,
};
use time::{format_description, format_description::FormatItem, OffsetDateTime};
use tokio_stream::{self as stream, StreamExt};

use crate::{
Expand Down Expand Up @@ -211,7 +209,7 @@ pub async fn add(
channel_id: &(i64::from(ctx.channel_id())),
id: &new_id,
todo: &text,
creation_date: &time.to_string(),
creation_date: &time,
assignee,
};

Expand Down

0 comments on commit 749ff8a

Please sign in to comment.