serenity-rs/serenity

CreateAttachment's item-level documentation is outdated

GnomedDev opened this issue · 1 comments

/// Enum that allows a user to pass a [`Path`] or a [`File`] type to [`send_files`]
pub struct CreateAttachment {

That doesn't look like an enum to me!

I've submitted a PR to fix this issue: #2906