@@ -5,7 +5,7 @@ LL | [0..200];
55 | ^^^^^^^^
66 |
77 = note: `-D clippy::single-range-in-vec-init` implied by `-D warnings`
8- help: if you wanted a `Vec` that contains every value in the range, try
8+ help: if you wanted a `Vec` that contains the entire range, try
99 |
1010LL | (0..200).collect::<std::vec::Vec<i32>>();
1111 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -20,7 +20,7 @@ error: a `Vec` of `Range` that is only one element
2020LL | vec![0..200];
2121 | ^^^^^^^^^^^^
2222 |
23- help: if you wanted a `Vec` that contains every value in the range, try
23+ help: if you wanted a `Vec` that contains the entire range, try
2424 |
2525LL | (0..200).collect::<std::vec::Vec<i32>>();
2626 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -35,7 +35,7 @@ error: an array of `Range` that is only one element
3535LL | [0u8..200];
3636 | ^^^^^^^^^^
3737 |
38- help: if you wanted a `Vec` that contains every value in the range, try
38+ help: if you wanted a `Vec` that contains the entire range, try
3939 |
4040LL | (0u8..200).collect::<std::vec::Vec<u8>>();
4141 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -50,7 +50,7 @@ error: an array of `Range` that is only one element
5050LL | [0usize..200];
5151 | ^^^^^^^^^^^^^
5252 |
53- help: if you wanted a `Vec` that contains every value in the range, try
53+ help: if you wanted a `Vec` that contains the entire range, try
5454 |
5555LL | (0usize..200).collect::<std::vec::Vec<usize>>();
5656 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -65,7 +65,7 @@ error: an array of `Range` that is only one element
6565LL | [0..200usize];
6666 | ^^^^^^^^^^^^^
6767 |
68- help: if you wanted a `Vec` that contains every value in the range, try
68+ help: if you wanted a `Vec` that contains the entire range, try
6969 |
7070LL | (0..200usize).collect::<std::vec::Vec<usize>>();
7171 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -80,7 +80,7 @@ error: a `Vec` of `Range` that is only one element
8080LL | vec![0u8..200];
8181 | ^^^^^^^^^^^^^^
8282 |
83- help: if you wanted a `Vec` that contains every value in the range, try
83+ help: if you wanted a `Vec` that contains the entire range, try
8484 |
8585LL | (0u8..200).collect::<std::vec::Vec<u8>>();
8686 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -95,7 +95,7 @@ error: a `Vec` of `Range` that is only one element
9595LL | vec![0usize..200];
9696 | ^^^^^^^^^^^^^^^^^
9797 |
98- help: if you wanted a `Vec` that contains every value in the range, try
98+ help: if you wanted a `Vec` that contains the entire range, try
9999 |
100100LL | (0usize..200).collect::<std::vec::Vec<usize>>();
101101 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -110,7 +110,7 @@ error: a `Vec` of `Range` that is only one element
110110LL | vec![0..200usize];
111111 | ^^^^^^^^^^^^^^^^^
112112 |
113- help: if you wanted a `Vec` that contains every value in the range, try
113+ help: if you wanted a `Vec` that contains the entire range, try
114114 |
115115LL | (0..200usize).collect::<std::vec::Vec<usize>>();
116116 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -125,7 +125,7 @@ error: an array of `Range` that is only one element
125125LL | [0..200isize];
126126 | ^^^^^^^^^^^^^
127127 |
128- help: if you wanted a `Vec` that contains every value in the range, try
128+ help: if you wanted a `Vec` that contains the entire range, try
129129 |
130130LL | (0..200isize).collect::<std::vec::Vec<isize>>();
131131 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -136,7 +136,7 @@ error: a `Vec` of `Range` that is only one element
136136LL | vec![0..200isize];
137137 | ^^^^^^^^^^^^^^^^^
138138 |
139- help: if you wanted a `Vec` that contains every value in the range, try
139+ help: if you wanted a `Vec` that contains the entire range, try
140140 |
141141LL | (0..200isize).collect::<std::vec::Vec<isize>>();
142142 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments