Remove usage of deprecated functions
This commit is contained in:
parent
24b3977f6a
commit
dfc233c613
1 changed files with 2 additions and 2 deletions
|
|
@ -38,8 +38,8 @@ pub fn simd_test(
|
|||
_ => panic!("expected #[simd_test(enable = \"feature\")]"),
|
||||
};
|
||||
let enable_feature = enable_feature
|
||||
.trim_left_matches('"')
|
||||
.trim_right_matches('"');
|
||||
.trim_start_matches('"')
|
||||
.trim_end_matches('"');
|
||||
let target_features: Vec<String> = enable_feature
|
||||
.replace('+', "")
|
||||
.split(',')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue