summaryrefslogtreecommitdiff
path: root/src/bin/obnam-server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/obnam-server.rs')
-rw-r--r--src/bin/obnam-server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/obnam-server.rs b/src/bin/obnam-server.rs
index 40ea400..3adf2eb 100644
--- a/src/bin/obnam-server.rs
+++ b/src/bin/obnam-server.rs
@@ -174,7 +174,7 @@ impl warp::Reply for ChunkResult {
match self {
ChunkResult::Created(id) => {
let body = CreatedBody {
- chunk_id: format!("{}", id),
+ chunk_id: id.to_string(),
};
let body = serde_json::to_string(&body).unwrap();
let mut r = warp::reply::Response::new(body.into());