summaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-10 15:59:26 +0000
committerSanto Cariotti <santo@dcariotti.me>2022-09-10 16:01:17 +0000
commit63b49b0876457a1bce9405a571f3c9b97a270fb4 (patch)
treed3fbf0429f9f7cd12bca7a3e03b20efc9cba7dd9 /src/routes
parent25f225a0ddbd7cce9498c1c8c812ad61288599f2 (diff)
style: clippy
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/model.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/model.rs b/src/routes/model.rs
index 66f8ec6..3d5084c 100644
--- a/src/routes/model.rs
+++ b/src/routes/model.rs
@@ -77,8 +77,6 @@ async fn upload_model_file(
Ok(saved_file) => {
return Ok(format!("Uploaded {}", saved_file));
}
- Err(e) => {
- return Err(e);
- }
+ Err(e) => Err(e),
}
}