fix comments in test for split_once

split_once was stabilized in 1.52
This commit is contained in:
kyoto7250 2022-04-09 20:34:43 +09:00
parent b029a86c6b
commit a9511482d6
2 changed files with 2 additions and 2 deletions

View file

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

View file

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