diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 18:15:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 18:15:10 -0700 |
commit | e4125f5739791032d822557511011a34f2f3edc3 (patch) | |
tree | b2520d1ed67e014b5148b97f70d4848f64ea8a08 | |
parent | eea2a6527d6e57cb2abda420e51b7b97c3c8e0b8 (diff) | |
download | fatcat-e4125f5739791032d822557511011a34f2f3edc3.tar.gz fatcat-e4125f5739791032d822557511011a34f2f3edc3.zip |
remove no-longer-necessary cast
-rw-r--r-- | rust/src/entity_crud.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs index b111ec53..af496ad9 100644 --- a/rust/src/entity_crud.rs +++ b/rust/src/entity_crud.rs @@ -1069,7 +1069,7 @@ impl EntityCrud for FileEntity { sha1: rev_row.sha1, sha256: rev_row.sha256, md5: rev_row.md5, - size: rev_row.size_bytes.map(|v| v as i64), + size: rev_row.size_bytes, urls: Some(urls), mimetype: rev_row.mimetype, release_ids: Some(release_ids.iter().map(|fcid| fcid.to_string()).collect()), |