Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom attachments #20

Merged
merged 13 commits into from
Nov 12, 2023
Prev Previous commit
Next Next commit
Update src/attachment_loader.rs
jabuwu authored Nov 6, 2023
commit 3bba71cc74c0ffd64d79464615b2f655b34eb55f
2 changes: 1 addition & 1 deletion src/attachment_loader.rs
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ impl AttachmentLoader {
/// # Errors
///
/// Returns [`AttachmentLoaderError::CreateAttachmentFailed`] if creating the attachment failed.
/// Check error1() and error2() for more information.
/// Check [`error1`](`Self::error1`) and [`error2`](`Self::error2`) for more information.
/// Returns [`AttachmentLoaderError::InvalidArgument`] if `name` or `path` contain a null byte.
pub fn create_region_attachment(
&self,