refactor: make MimeType::find_allowed pub(crate)
This commit is contained in:
parent
9a0816b140
commit
cca54839a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue