We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731e975 commit 72fc3d1Copy full SHA for 72fc3d1
fearless_simd_core/src/support.rs
@@ -62,7 +62,7 @@ pub const fn is_feature_subset<const N: usize>(
62
}
63
// `comma_idx` is now the index of the comma, e.g. if the string was "sse,", idx would be 3
64
// This is the feature we need to validate exists in permitted.
65
- let (to_find, remaining_required) = &required_bytes.split_at(comma_idx);
+ let (to_find, remaining_required) = required_bytes.split_at(comma_idx);
66
if let [comma, rest @ ..] = remaining_required {
67
if *comma != b',' {
68
panic!("Internal failure of expected behaviour.");
0 commit comments