Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfbacon committed Feb 16, 2024
1 parent 6401265 commit b67d6f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bot/src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ async fn render(
ctx: Context<'_>,
#[description = "Flags"] flags: RenderFlags,
#[description = "Code to render"] code: CodeBlock,
_ignored: Rest,
#[rename = "rest"]
#[description = "Extra message content"]
_: Rest,
) -> Result<(), PoiseError> {
let pool = &ctx.data().pool;

Expand Down Expand Up @@ -413,7 +415,9 @@ async fn source(ctx: Context<'_>) -> Result<(), PoiseError> {
async fn ast(
ctx: Context<'_>,
#[description = "Code to parse"] code: CodeBlock,
_ignored: Rest,
#[rename = "rest"]
#[description = "Extra message content"]
_: Rest,
) -> Result<(), PoiseError> {
let pool = &ctx.data().pool;

Expand Down

0 comments on commit b67d6f2

Please sign in to comment.