cleanup: add missing . to docs

This commit is contained in:
Ashley Wulber 2024-02-28 15:39:30 -05:00
parent 0d110ddac3
commit 0d61c088e5
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -67,13 +67,13 @@ impl MimeType {
}
}
/// Describes the mime types which are accepted
/// Describes the mime types which are accepted.
pub trait AllowedMimeTypes: TryFrom<(Vec<u8>, MimeType)> {
/// List allowed mime types for the type to convert from a byte slice.
fn allowed() -> Cow<'static, [MimeType]>;
}
/// Can be converted to data with the available mime types
/// Can be converted to data with the available mime types.
pub trait AsMimeTypes {
/// List available mime types for this data to convert to a byte slice.
fn available(&self) -> Cow<'static, [MimeType]>;