about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkyoto7250 <50972773+kyoto7250@users.noreply.github.com>2022-04-09 20:34:43 +0900
committerkyoto7250 <50972773+kyoto7250@users.noreply.github.com>2022-04-09 20:34:43 +0900
commita9511482d6d22188e8097261c17c69dece9a198e (patch)
tree11ffa1a696f42e2ea255ccdfd6abd16e646465c3
parentb029a86c6b57c6a575398d82d0a8198c6904cbfc (diff)
fix comments in test for split_once
split_once was stabilized in 1.52
-rw-r--r--tests/ui/manual_split_once.fixed2
-rw-r--r--tests/ui/manual_split_once.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/manual_split_once.fixed b/tests/ui/manual_split_once.fixed
index d5113df569a..24ac364ffd9 100644
--- a/tests/ui/manual_split_once.fixed
+++ b/tests/ui/manual_split_once.fixed
@@ -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();
 }
 
diff --git a/tests/ui/manual_split_once.rs b/tests/ui/manual_split_once.rs
index 80e02952dbd..85c0c7d6977 100644
--- a/tests/ui/manual_split_once.rs
+++ b/tests/ui/manual_split_once.rs
@@ -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();
 }