From 25ad6abcf54ae59c2d39d2365f9312b97262ab88 Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Fri, 1 Nov 2024 01:32:41 +0000 Subject: [PATCH] Fix up docs --- src/prefix_argument/argument_trait.rs | 6 +++--- src/slash_argument/slash_trait.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/prefix_argument/argument_trait.rs b/src/prefix_argument/argument_trait.rs index dafd4388d26..77633842a42 100644 --- a/src/prefix_argument/argument_trait.rs +++ b/src/prefix_argument/argument_trait.rs @@ -1,6 +1,6 @@ -//! Trait implemented for all types usable as prefix command parameters. This file also includes -//! the auto-deref specialization emulation code to e.g. support more strings for bool parameters -//! instead of the `FromStr` ones +//! Trait implemented for all types usable as prefix command parameters. +//! +//! Many of these implementations defer to [`serenity::ArgumentConvert`]. use super::{pop_string, InvalidBool, MissingAttachment, TooFewArguments}; use crate::serenity_prelude as serenity; diff --git a/src/slash_argument/slash_trait.rs b/src/slash_argument/slash_trait.rs index b11aa2e0db7..5eb60fda5e3 100644 --- a/src/slash_argument/slash_trait.rs +++ b/src/slash_argument/slash_trait.rs @@ -1,4 +1,4 @@ -//! Traits for slash command parameters and a macro to wrap the auto-deref specialization hack +//! Traits for slash command parameters. use super::SlashArgError; use std::{borrow::Cow, convert::TryInto as _};