Skip to content

Commit 7efee4e

Browse files
Fix u64 being needlessly casted to itself
1 parent a8954be commit 7efee4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sources/hangar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ impl HangarAPI<'_> {
475475
namespace: Cow::Borrowed("hangar"),
476476
path: cached_file_path,
477477
},
478-
size: Some(download.get_file_info().size_bytes as u64),
478+
size: Some(download.get_file_info().size_bytes),
479479
hashes: HashMap::from([("sha256".to_owned(), download.get_file_info().sha256_hash)]),
480480
})
481481
}

0 commit comments

Comments
 (0)