Repository: serenity-rs/serenity (language: rust)

Issue:
CreateAttachment's item-level documentation is outdated
```rs
/// 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!


Discussion / hints:

Fix patch:
diff --git a/src/builder/create_attachment.rs b/src/builder/create_attachment.rs
index ddbca56bc1f..7a5790bb372 100644
--- a/src/builder/create_attachment.rs
+++ b/src/builder/create_attachment.rs
@@ -13,11 +13,9 @@ use crate::error::Result;
 use crate::http::Http;
 use crate::model::id::AttachmentId;
 
-/// Enum that allows a user to pass a [`Path`] or a [`File`] type to [`send_files`]
+/// A builder for creating a new attachment from a file path, file data, or URL.
 ///
 /// [Discord docs](https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure).
-///
-/// [`send_files`]: crate::model::id::ChannelId::send_files
 #[derive(Clone, Debug, Serialize, PartialEq)]
 #[non_exhaustive]
 #[must_use]


Test patch: