diff --git a/src/mime.rs b/src/mime.rs index 20c7e4d..2b59468 100644 --- a/src/mime.rs +++ b/src/mime.rs @@ -70,6 +70,9 @@ impl MimeType { /// 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. + /// + /// Allowed mime types should be listed in order of decreasing preference, + /// most preferred first. fn allowed() -> Cow<'static, [MimeType]>; }