Skip to content

Commit a951148

Browse files
committed
fix comments in test for split_once
split_once was stabilized in 1.52
1 parent b029a86 commit a951148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/manual_split_once.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn main() {
4646

4747
fn _msrv_1_51() {
4848
#![clippy::msrv = "1.51"]
49-
// `str::split_once` was stabilized in 1.16. Do not lint this
49+
// `str::split_once` was stabilized in 1.52. Do not lint this
5050
let _ = "key=value".splitn(2, '=').nth(1).unwrap();
5151
}
5252

tests/ui/manual_split_once.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn main() {
4646

4747
fn _msrv_1_51() {
4848
#![clippy::msrv = "1.51"]
49-
// `str::split_once` was stabilized in 1.16. Do not lint this
49+
// `str::split_once` was stabilized in 1.52. Do not lint this
5050
let _ = "key=value".splitn(2, '=').nth(1).unwrap();
5151
}
5252

0 commit comments

Comments
 (0)