From 0d61c088e59f990f60df0d4a512382ce2efc29c4 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 28 Feb 2024 15:39:30 -0500 Subject: [PATCH] cleanup: add missing . to docs --- src/mime.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mime.rs b/src/mime.rs index 60377f2..20c7e4d 100644 --- a/src/mime.rs +++ b/src/mime.rs @@ -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, 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]>;