diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-10 16:38:23 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-05-10 16:38:23 +0000 |
commit | 6b708b432648cf5e62e8d61609eff942f885f538 (patch) | |
tree | c2ccd3786cb68b123bf90190b9d9c47ec34b9559 /src/main.rs | |
parent | cargo fmt (diff) | |
download | miniserve-6b708b432648cf5e62e8d61609eff942f885f538.tar.gz miniserve-6b708b432648cf5e62e8d61609eff942f885f538.zip |
Fix clippy
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 bcfda09..bb61edc 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() { |