Picture: Fix docs referring to MimeType::None

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
This commit is contained in:
Serial 2023-11-30 13:20:02 -05:00 committed by Alex
parent 2a18e5f358
commit f3457f450c

View file

@ -70,9 +70,6 @@ impl MimeType {
#[allow(clippy::should_implement_trait)] #[allow(clippy::should_implement_trait)]
/// Get a `MimeType` from a string /// Get a `MimeType` from a string
/// ///
/// Empty strings will map to `MimeType::None`, while any unrecognized MIME types will
/// map to `MimeType::Unknown`.
///
/// # Examples /// # Examples
/// ///
/// ```rust /// ```rust
@ -94,8 +91,6 @@ impl MimeType {
/// Get a &str from a `MimeType` /// Get a &str from a `MimeType`
/// ///
/// NOTE: `MimeType::None` will return an empty string.
///
/// # Examples /// # Examples
/// ///
/// ```rust /// ```rust