diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-03 05:28:31 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-03 05:28:31 +0000 |
commit | 8f1793e02f0dadbab668b51850e14bd160b440d8 (patch) | |
tree | 4e125df23c71e092c3f83d0289554df980e0bb2e /src/main.rs | |
parent | Print error when parsing query parameters fail (diff) | |
parent | Merge pull request #99 from KSXGitHub/new-clippy (diff) | |
download | miniserve-8f1793e02f0dadbab668b51850e14bd160b440d8.tar.gz miniserve-8f1793e02f0dadbab668b51850e14bd160b440d8.zip |
Merge branch 'master' into themed-errors
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 5c0edb7..07827c0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -83,9 +83,7 @@ fn run() -> Result<(), ContextualError> { && miniserve_config .path .symlink_metadata() - .map_err(|e| { - ContextualError::IOError("Failed to retrieve symlink's metadata".to_string(), e) - })? + .map_err(|e| ContextualError::IOError("Failed to retrieve symlink's metadata".to_string(), e))? .file_type() .is_symlink() { |