Remove [u64; 4] from small version to move Arc to full version (#10345)

This commit is contained in:
konsti 2025-01-07 15:25:32 +01:00 committed by GitHub
parent fb29445999
commit 373e34f5dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 132 additions and 96 deletions

View file

@ -2220,7 +2220,7 @@ impl FromStr for VersionRequest {
};
// Cast the release components into u8s since that's what we use in `VersionRequest`
let Ok(release) = try_into_u8_slice(version.release()) else {
let Ok(release) = try_into_u8_slice(&version.release()) else {
return Err(Error::InvalidVersionRequest(s.to_string()));
};