refactor: make MimeType::find_allowed pub(crate)

This commit is contained in:
Ashley Wulber 2024-03-25 16:17:16 -04:00
parent 9a0816b140
commit cca54839a3
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -97,7 +97,7 @@ impl MimeType {
///
/// `find_allowed()` searches for mime type clipboard supports, if we have a
/// match, returns `Some(MimeType)`, otherwise `None`.
pub fn find_allowed(
pub(crate) fn find_allowed(
offered_mime_types: &[String],
allowed_mime_types: &[Self],
) -> Option<Self> {