Skip to content

Commit 72fc3d1

Browse files
committed
Remove unneeded reference
1 parent 731e975 commit 72fc3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fearless_simd_core/src/support.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub const fn is_feature_subset<const N: usize>(
6262
}
6363
// `comma_idx` is now the index of the comma, e.g. if the string was "sse,", idx would be 3
6464
// This is the feature we need to validate exists in permitted.
65-
let (to_find, remaining_required) = &required_bytes.split_at(comma_idx);
65+
let (to_find, remaining_required) = required_bytes.split_at(comma_idx);
6666
if let [comma, rest @ ..] = remaining_required {
6767
if *comma != b',' {
6868
panic!("Internal failure of expected behaviour.");

0 commit comments

Comments
 (0)