Skip to content

Commit

Permalink
refactor: make MimeType::find_allowed pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Mar 25, 2024
1 parent 9a0816b commit cca5483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit cca5483

Please sign in to comment.