Skip to content
This repository was archived by the owner on Apr 9, 2023. It is now read-only.

Commit 4f50a19

Browse files
committed
Fixed link in docs.
1 parent 0cdedde commit 4f50a19

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/lib.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
//! between 5,000ns and 100,000ns to find a MIME type.)
1414
//! - Check if a file *is* a certain type.
1515
//! - Handles aliases (ex: `application/zip` vs `application/x-zip-compressed`)
16-
//! - Uses system [FreeDesktop.org magic files](https://specifications.freedesktop.org/
17-
//! shared-mime-info-spec/shared-mime-info-spec-latest.html) on Linux systems, and built-in
18-
//! magic file on Windows and macOS.
16+
//! - Uses system [FreeDesktop.org magic files](https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html)
17+
//! on Linux systems, and built-in magic file on Windows and macOS.
1918
//! - Can delegate different file types to different "checkers", reducing false positives
2019
//! by choosing a different method of attack.
2120
//!
@@ -461,7 +460,7 @@ fn match_filepath_noalias(mimetype: &str, filepath: &Path) -> bool
461460
/// ```rust
462461
/// use std::path::Path;
463462
///
464-
/// // Path to a GIF file
463+
/// // Get path to a GIF file
465464
/// let path: &Path = Path::new("tests/image/gif");
466465
///
467466
/// // Check if the MIME and the file are a match

0 commit comments

Comments
 (0)