@@ -5,7 +5,7 @@ LL | [0..200];
5
5
| ^^^^^^^^
6
6
|
7
7
= 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
9
9
|
10
10
LL | (0..200).collect::<std::vec::Vec<i32>>();
11
11
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -20,7 +20,7 @@ error: a `Vec` of `Range` that is only one element
20
20
LL | vec![0..200];
21
21
| ^^^^^^^^^^^^
22
22
|
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
24
24
|
25
25
LL | (0..200).collect::<std::vec::Vec<i32>>();
26
26
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -35,7 +35,7 @@ error: an array of `Range` that is only one element
35
35
LL | [0u8..200];
36
36
| ^^^^^^^^^^
37
37
|
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
39
39
|
40
40
LL | (0u8..200).collect::<std::vec::Vec<u8>>();
41
41
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -50,7 +50,7 @@ error: an array of `Range` that is only one element
50
50
LL | [0usize..200];
51
51
| ^^^^^^^^^^^^^
52
52
|
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
54
54
|
55
55
LL | (0usize..200).collect::<std::vec::Vec<usize>>();
56
56
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -65,7 +65,7 @@ error: an array of `Range` that is only one element
65
65
LL | [0..200usize];
66
66
| ^^^^^^^^^^^^^
67
67
|
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
69
69
|
70
70
LL | (0..200usize).collect::<std::vec::Vec<usize>>();
71
71
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -80,7 +80,7 @@ error: a `Vec` of `Range` that is only one element
80
80
LL | vec![0u8..200];
81
81
| ^^^^^^^^^^^^^^
82
82
|
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
84
84
|
85
85
LL | (0u8..200).collect::<std::vec::Vec<u8>>();
86
86
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -95,7 +95,7 @@ error: a `Vec` of `Range` that is only one element
95
95
LL | vec![0usize..200];
96
96
| ^^^^^^^^^^^^^^^^^
97
97
|
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
99
99
|
100
100
LL | (0usize..200).collect::<std::vec::Vec<usize>>();
101
101
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -110,7 +110,7 @@ error: a `Vec` of `Range` that is only one element
110
110
LL | vec![0..200usize];
111
111
| ^^^^^^^^^^^^^^^^^
112
112
|
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
114
114
|
115
115
LL | (0..200usize).collect::<std::vec::Vec<usize>>();
116
116
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -125,7 +125,7 @@ error: an array of `Range` that is only one element
125
125
LL | [0..200isize];
126
126
| ^^^^^^^^^^^^^
127
127
|
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
129
129
|
130
130
LL | (0..200isize).collect::<std::vec::Vec<isize>>();
131
131
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -136,7 +136,7 @@ error: a `Vec` of `Range` that is only one element
136
136
LL | vec![0..200isize];
137
137
| ^^^^^^^^^^^^^^^^^
138
138
|
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
140
140
|
141
141
LL | (0..200isize).collect::<std::vec::Vec<isize>>();
142
142
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments