aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-25 18:28:36 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-25 18:28:51 -0700
commit6da398b730bbc269769066a8181f07d84f954f44 (patch)
tree4e816ce9f027722fb7d0cb9c54afeeea96930425 /rust/src
parent0a637859a2e0f0b2015cf567af3bfeab7bbd58da (diff)
downloadfatcat-6da398b730bbc269769066a8181f07d84f954f44.tar.gz
fatcat-6da398b730bbc269769066a8181f07d84f954f44.zip
refactor tests (much cleaner)
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/api_server.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/api_server.rs b/rust/src/api_server.rs
index eee68e02..19cd5fe4 100644
--- a/rust/src/api_server.rs
+++ b/rust/src/api_server.rs
@@ -659,8 +659,7 @@ impl Api for Server {
.iter()
.map(|r| FileReleaseRow {
file_rev: edit.rev_id.unwrap(),
- target_release_ident_id:
- uuid::Uuid::parse_str(r).expect("valid UUID"),
+ target_release_ident_id: uuid::Uuid::parse_str(r).expect("valid UUID"),
})
.collect();
let release_rows: Vec<FileReleaseRow> = insert_into(file_release::table)