Skip to content

Commit

Permalink
Fix small needless cast to i64
Browse files Browse the repository at this point in the history
  • Loading branch information
allada committed Jan 21, 2021
1 parent b517db1 commit 59c609e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cas/grpc_service/tests/ac_server_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async fn insert_into_store<T: Message>(
action_result.encode(&mut store_data)?;
let digest = DigestInfo::try_new(&hash, store_data.len() as i64)?;
store.update(digest.clone(), Box::new(Cursor::new(store_data))).await?;
Ok(digest.size_bytes as i64)
Ok(digest.size_bytes)
}

fn make_store_manager() -> Result<StoreManager, Error> {
Expand Down

0 comments on commit 59c609e

Please sign in to comment.