1
- error: manually doing case-insensitive ASCII comparison
1
+ error: manual case-insensitive ASCII comparison
2
2
--> tests/ui/manual_ignore_case_cmp.rs:9:8
3
3
|
4
4
LL | if a.to_ascii_lowercase() == b.to_ascii_lowercase() {
@@ -14,7 +14,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
14
14
LL | if a.eq_ignore_ascii_case(b) {
15
15
| ~~~~~~~~~~~~~~~~~~~~~~~~~
16
16
17
- error: manually doing case-insensitive ASCII comparison
17
+ error: manual case-insensitive ASCII comparison
18
18
--> tests/ui/manual_ignore_case_cmp.rs:12:8
19
19
|
20
20
LL | if a.to_ascii_uppercase() == b.to_ascii_uppercase() {
@@ -25,7 +25,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
25
25
LL | if a.eq_ignore_ascii_case(b) {
26
26
| ~~~~~~~~~~~~~~~~~~~~~~~~~
27
27
28
- error: manually doing case-insensitive ASCII comparison
28
+ error: manual case-insensitive ASCII comparison
29
29
--> tests/ui/manual_ignore_case_cmp.rs:15:13
30
30
|
31
31
LL | let r = a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -36,7 +36,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
36
36
LL | let r = a.eq_ignore_ascii_case(b);
37
37
| ~~~~~~~~~~~~~~~~~~~~~~~~~
38
38
39
- error: manually doing case-insensitive ASCII comparison
39
+ error: manual case-insensitive ASCII comparison
40
40
--> tests/ui/manual_ignore_case_cmp.rs:16:18
41
41
|
42
42
LL | let r = r || a.to_ascii_uppercase() == b.to_ascii_uppercase();
@@ -47,7 +47,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
47
47
LL | let r = r || a.eq_ignore_ascii_case(b);
48
48
| ~~~~~~~~~~~~~~~~~~~~~~~~~
49
49
50
- error: manually doing case-insensitive ASCII comparison
50
+ error: manual case-insensitive ASCII comparison
51
51
--> tests/ui/manual_ignore_case_cmp.rs:17:10
52
52
|
53
53
LL | r && a.to_ascii_lowercase() == b.to_uppercase().to_ascii_lowercase();
@@ -58,7 +58,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
58
58
LL | r && a.eq_ignore_ascii_case(&b.to_uppercase());
59
59
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60
60
61
- error: manually doing case-insensitive ASCII comparison
61
+ error: manual case-insensitive ASCII comparison
62
62
--> tests/ui/manual_ignore_case_cmp.rs:19:8
63
63
|
64
64
LL | if a.to_ascii_lowercase() != b.to_ascii_lowercase() {
@@ -69,7 +69,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
69
69
LL | if !a.eq_ignore_ascii_case(b) {
70
70
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
71
71
72
- error: manually doing case-insensitive ASCII comparison
72
+ error: manual case-insensitive ASCII comparison
73
73
--> tests/ui/manual_ignore_case_cmp.rs:22:8
74
74
|
75
75
LL | if a.to_ascii_uppercase() != b.to_ascii_uppercase() {
@@ -80,7 +80,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
80
80
LL | if !a.eq_ignore_ascii_case(b) {
81
81
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
82
82
83
- error: manually doing case-insensitive ASCII comparison
83
+ error: manual case-insensitive ASCII comparison
84
84
--> tests/ui/manual_ignore_case_cmp.rs:25:13
85
85
|
86
86
LL | let r = a.to_ascii_lowercase() != b.to_ascii_lowercase();
@@ -91,7 +91,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
91
91
LL | let r = !a.eq_ignore_ascii_case(b);
92
92
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
93
93
94
- error: manually doing case-insensitive ASCII comparison
94
+ error: manual case-insensitive ASCII comparison
95
95
--> tests/ui/manual_ignore_case_cmp.rs:26:18
96
96
|
97
97
LL | let r = r || a.to_ascii_uppercase() != b.to_ascii_uppercase();
@@ -102,7 +102,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
102
102
LL | let r = r || !a.eq_ignore_ascii_case(b);
103
103
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
104
104
105
- error: manually doing case-insensitive ASCII comparison
105
+ error: manual case-insensitive ASCII comparison
106
106
--> tests/ui/manual_ignore_case_cmp.rs:27:10
107
107
|
108
108
LL | r && a.to_ascii_lowercase() != b.to_uppercase().to_ascii_lowercase();
@@ -113,7 +113,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
113
113
LL | r && !a.eq_ignore_ascii_case(&b.to_uppercase());
114
114
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115
115
116
- error: manually doing case-insensitive ASCII comparison
116
+ error: manual case-insensitive ASCII comparison
117
117
--> tests/ui/manual_ignore_case_cmp.rs:38:5
118
118
|
119
119
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -124,7 +124,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
124
124
LL | a.eq_ignore_ascii_case(&b);
125
125
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
126
126
127
- error: manually doing case-insensitive ASCII comparison
127
+ error: manual case-insensitive ASCII comparison
128
128
--> tests/ui/manual_ignore_case_cmp.rs:41:5
129
129
|
130
130
LL | a.to_ascii_lowercase() == 'a';
@@ -135,7 +135,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
135
135
LL | a.eq_ignore_ascii_case(&'a');
136
136
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137
137
138
- error: manually doing case-insensitive ASCII comparison
138
+ error: manual case-insensitive ASCII comparison
139
139
--> tests/ui/manual_ignore_case_cmp.rs:42:5
140
140
|
141
141
LL | 'a' == b.to_ascii_lowercase();
@@ -146,7 +146,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
146
146
LL | 'a'.eq_ignore_ascii_case(&b);
147
147
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148
148
149
- error: manually doing case-insensitive ASCII comparison
149
+ error: manual case-insensitive ASCII comparison
150
150
--> tests/ui/manual_ignore_case_cmp.rs:45:5
151
151
|
152
152
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -157,7 +157,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
157
157
LL | a.eq_ignore_ascii_case(&b);
158
158
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
159
159
160
- error: manually doing case-insensitive ASCII comparison
160
+ error: manual case-insensitive ASCII comparison
161
161
--> tests/ui/manual_ignore_case_cmp.rs:46:5
162
162
|
163
163
LL | a.to_ascii_lowercase() == b'a';
@@ -168,7 +168,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
168
168
LL | a.eq_ignore_ascii_case(&b'a');
169
169
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
170
170
171
- error: manually doing case-insensitive ASCII comparison
171
+ error: manual case-insensitive ASCII comparison
172
172
--> tests/ui/manual_ignore_case_cmp.rs:47:5
173
173
|
174
174
LL | b'a' == b.to_ascii_lowercase();
@@ -179,7 +179,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
179
179
LL | b'a'.eq_ignore_ascii_case(&b);
180
180
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181
181
182
- error: manually doing case-insensitive ASCII comparison
182
+ error: manual case-insensitive ASCII comparison
183
183
--> tests/ui/manual_ignore_case_cmp.rs:50:5
184
184
|
185
185
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -190,7 +190,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
190
190
LL | a.eq_ignore_ascii_case(b);
191
191
| ~~~~~~~~~~~~~~~~~~~~~~~~~
192
192
193
- error: manually doing case-insensitive ASCII comparison
193
+ error: manual case-insensitive ASCII comparison
194
194
--> tests/ui/manual_ignore_case_cmp.rs:51:5
195
195
|
196
196
LL | a.to_uppercase().to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -201,7 +201,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
201
201
LL | a.to_uppercase().eq_ignore_ascii_case(b);
202
202
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203
203
204
- error: manually doing case-insensitive ASCII comparison
204
+ error: manual case-insensitive ASCII comparison
205
205
--> tests/ui/manual_ignore_case_cmp.rs:52:5
206
206
|
207
207
LL | a.to_ascii_lowercase() == "a";
@@ -212,7 +212,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
212
212
LL | a.eq_ignore_ascii_case("a");
213
213
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
214
214
215
- error: manually doing case-insensitive ASCII comparison
215
+ error: manual case-insensitive ASCII comparison
216
216
--> tests/ui/manual_ignore_case_cmp.rs:53:5
217
217
|
218
218
LL | "a" == b.to_ascii_lowercase();
@@ -223,7 +223,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
223
223
LL | "a".eq_ignore_ascii_case(b);
224
224
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
225
225
226
- error: manually doing case-insensitive ASCII comparison
226
+ error: manual case-insensitive ASCII comparison
227
227
--> tests/ui/manual_ignore_case_cmp.rs:56:5
228
228
|
229
229
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -234,7 +234,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
234
234
LL | a.eq_ignore_ascii_case(b);
235
235
| ~~~~~~~~~~~~~~~~~~~~~~~~~
236
236
237
- error: manually doing case-insensitive ASCII comparison
237
+ error: manual case-insensitive ASCII comparison
238
238
--> tests/ui/manual_ignore_case_cmp.rs:57:5
239
239
|
240
240
LL | a.to_uppercase().to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -245,7 +245,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
245
245
LL | a.to_uppercase().eq_ignore_ascii_case(b);
246
246
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247
247
248
- error: manually doing case-insensitive ASCII comparison
248
+ error: manual case-insensitive ASCII comparison
249
249
--> tests/ui/manual_ignore_case_cmp.rs:58:5
250
250
|
251
251
LL | a.to_ascii_lowercase() == "a";
@@ -256,7 +256,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
256
256
LL | a.eq_ignore_ascii_case("a");
257
257
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
258
258
259
- error: manually doing case-insensitive ASCII comparison
259
+ error: manual case-insensitive ASCII comparison
260
260
--> tests/ui/manual_ignore_case_cmp.rs:59:5
261
261
|
262
262
LL | "a" == b.to_ascii_lowercase();
@@ -267,7 +267,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
267
267
LL | "a".eq_ignore_ascii_case(b);
268
268
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
269
269
270
- error: manually doing case-insensitive ASCII comparison
270
+ error: manual case-insensitive ASCII comparison
271
271
--> tests/ui/manual_ignore_case_cmp.rs:62:5
272
272
|
273
273
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -278,7 +278,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
278
278
LL | a.eq_ignore_ascii_case(&b);
279
279
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
280
280
281
- error: manually doing case-insensitive ASCII comparison
281
+ error: manual case-insensitive ASCII comparison
282
282
--> tests/ui/manual_ignore_case_cmp.rs:63:5
283
283
|
284
284
LL | a.to_ascii_lowercase() == "a";
@@ -289,7 +289,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
289
289
LL | a.eq_ignore_ascii_case("a");
290
290
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
291
291
292
- error: manually doing case-insensitive ASCII comparison
292
+ error: manual case-insensitive ASCII comparison
293
293
--> tests/ui/manual_ignore_case_cmp.rs:64:5
294
294
|
295
295
LL | "a" == b.to_ascii_lowercase();
@@ -300,7 +300,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
300
300
LL | "a".eq_ignore_ascii_case(&b);
301
301
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302
302
303
- error: manually doing case-insensitive ASCII comparison
303
+ error: manual case-insensitive ASCII comparison
304
304
--> tests/ui/manual_ignore_case_cmp.rs:67:5
305
305
|
306
306
LL | a.to_ascii_lowercase() == "a";
@@ -311,7 +311,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
311
311
LL | a.eq_ignore_ascii_case("a");
312
312
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
313
314
- error: manually doing case-insensitive ASCII comparison
314
+ error: manual case-insensitive ASCII comparison
315
315
--> tests/ui/manual_ignore_case_cmp.rs:68:5
316
316
|
317
317
LL | "a" == b.to_ascii_lowercase();
@@ -322,7 +322,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
322
322
LL | "a".eq_ignore_ascii_case(&b);
323
323
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
324
324
325
- error: manually doing case-insensitive ASCII comparison
325
+ error: manual case-insensitive ASCII comparison
326
326
--> tests/ui/manual_ignore_case_cmp.rs:71:5
327
327
|
328
328
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -333,7 +333,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
333
333
LL | a.eq_ignore_ascii_case(b);
334
334
| ~~~~~~~~~~~~~~~~~~~~~~~~~
335
335
336
- error: manually doing case-insensitive ASCII comparison
336
+ error: manual case-insensitive ASCII comparison
337
337
--> tests/ui/manual_ignore_case_cmp.rs:72:5
338
338
|
339
339
LL | a.to_ascii_lowercase() == "a";
@@ -344,7 +344,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
344
344
LL | a.eq_ignore_ascii_case("a");
345
345
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
346
346
347
- error: manually doing case-insensitive ASCII comparison
347
+ error: manual case-insensitive ASCII comparison
348
348
--> tests/ui/manual_ignore_case_cmp.rs:73:5
349
349
|
350
350
LL | "a" == b.to_ascii_lowercase();
@@ -355,7 +355,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
355
355
LL | "a".eq_ignore_ascii_case(b);
356
356
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
357
357
358
- error: manually doing case-insensitive ASCII comparison
358
+ error: manual case-insensitive ASCII comparison
359
359
--> tests/ui/manual_ignore_case_cmp.rs:75:5
360
360
|
361
361
LL | b.to_ascii_lowercase() == a.to_ascii_lowercase();
@@ -366,7 +366,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
366
366
LL | b.eq_ignore_ascii_case(&a);
367
367
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
368
368
369
- error: manually doing case-insensitive ASCII comparison
369
+ error: manual case-insensitive ASCII comparison
370
370
--> tests/ui/manual_ignore_case_cmp.rs:76:5
371
371
|
372
372
LL | b.to_ascii_lowercase() == "a";
@@ -377,7 +377,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
377
377
LL | b.eq_ignore_ascii_case("a");
378
378
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
379
379
380
- error: manually doing case-insensitive ASCII comparison
380
+ error: manual case-insensitive ASCII comparison
381
381
--> tests/ui/manual_ignore_case_cmp.rs:77:5
382
382
|
383
383
LL | "a" == a.to_ascii_lowercase();
@@ -388,7 +388,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
388
388
LL | "a".eq_ignore_ascii_case(&a);
389
389
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
390
390
391
- error: manually doing case-insensitive ASCII comparison
391
+ error: manual case-insensitive ASCII comparison
392
392
--> tests/ui/manual_ignore_case_cmp.rs:80:5
393
393
|
394
394
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -399,7 +399,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
399
399
LL | a.eq_ignore_ascii_case(b);
400
400
| ~~~~~~~~~~~~~~~~~~~~~~~~~
401
401
402
- error: manually doing case-insensitive ASCII comparison
402
+ error: manual case-insensitive ASCII comparison
403
403
--> tests/ui/manual_ignore_case_cmp.rs:81:5
404
404
|
405
405
LL | a.to_ascii_lowercase() == "a";
@@ -410,7 +410,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
410
410
LL | a.eq_ignore_ascii_case("a");
411
411
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
412
412
413
- error: manually doing case-insensitive ASCII comparison
413
+ error: manual case-insensitive ASCII comparison
414
414
--> tests/ui/manual_ignore_case_cmp.rs:82:5
415
415
|
416
416
LL | "a" == b.to_ascii_lowercase();
@@ -421,7 +421,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
421
421
LL | "a".eq_ignore_ascii_case(b);
422
422
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
423
423
424
- error: manually doing case-insensitive ASCII comparison
424
+ error: manual case-insensitive ASCII comparison
425
425
--> tests/ui/manual_ignore_case_cmp.rs:84:5
426
426
|
427
427
LL | b.to_ascii_lowercase() == a.to_ascii_lowercase();
@@ -432,7 +432,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
432
432
LL | b.eq_ignore_ascii_case(&a);
433
433
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
434
434
435
- error: manually doing case-insensitive ASCII comparison
435
+ error: manual case-insensitive ASCII comparison
436
436
--> tests/ui/manual_ignore_case_cmp.rs:85:5
437
437
|
438
438
LL | b.to_ascii_lowercase() == "a";
@@ -443,7 +443,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
443
443
LL | b.eq_ignore_ascii_case("a");
444
444
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
445
445
446
- error: manually doing case-insensitive ASCII comparison
446
+ error: manual case-insensitive ASCII comparison
447
447
--> tests/ui/manual_ignore_case_cmp.rs:86:5
448
448
|
449
449
LL | "a" == a.to_ascii_lowercase();
@@ -454,7 +454,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
454
454
LL | "a".eq_ignore_ascii_case(&a);
455
455
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
456
456
457
- error: manually doing case-insensitive ASCII comparison
457
+ error: manual case-insensitive ASCII comparison
458
458
--> tests/ui/manual_ignore_case_cmp.rs:89:5
459
459
|
460
460
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -465,7 +465,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
465
465
LL | a.eq_ignore_ascii_case(b);
466
466
| ~~~~~~~~~~~~~~~~~~~~~~~~~
467
467
468
- error: manually doing case-insensitive ASCII comparison
468
+ error: manual case-insensitive ASCII comparison
469
469
--> tests/ui/manual_ignore_case_cmp.rs:92:5
470
470
|
471
471
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -476,7 +476,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
476
476
LL | a.eq_ignore_ascii_case(&b);
477
477
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
478
478
479
- error: manually doing case-insensitive ASCII comparison
479
+ error: manual case-insensitive ASCII comparison
480
480
--> tests/ui/manual_ignore_case_cmp.rs:95:5
481
481
|
482
482
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -487,7 +487,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
487
487
LL | a.eq_ignore_ascii_case(b);
488
488
| ~~~~~~~~~~~~~~~~~~~~~~~~~
489
489
490
- error: manually doing case-insensitive ASCII comparison
490
+ error: manual case-insensitive ASCII comparison
491
491
--> tests/ui/manual_ignore_case_cmp.rs:96:5
492
492
|
493
493
LL | b.to_ascii_lowercase() == a.to_ascii_lowercase();
@@ -498,7 +498,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
498
498
LL | b.eq_ignore_ascii_case(&a);
499
499
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
500
500
501
- error: manually doing case-insensitive ASCII comparison
501
+ error: manual case-insensitive ASCII comparison
502
502
--> tests/ui/manual_ignore_case_cmp.rs:99:5
503
503
|
504
504
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -509,7 +509,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
509
509
LL | a.eq_ignore_ascii_case(b);
510
510
| ~~~~~~~~~~~~~~~~~~~~~~~~~
511
511
512
- error: manually doing case-insensitive ASCII comparison
512
+ error: manual case-insensitive ASCII comparison
513
513
--> tests/ui/manual_ignore_case_cmp.rs:102:5
514
514
|
515
515
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -520,7 +520,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
520
520
LL | a.eq_ignore_ascii_case(b);
521
521
| ~~~~~~~~~~~~~~~~~~~~~~~~~
522
522
523
- error: manually doing case-insensitive ASCII comparison
523
+ error: manual case-insensitive ASCII comparison
524
524
--> tests/ui/manual_ignore_case_cmp.rs:105:5
525
525
|
526
526
LL | a.to_ascii_lowercase() == b.to_ascii_lowercase();
@@ -531,7 +531,7 @@ help: consider using `.eq_ignore_ascii_case()` instead
531
531
LL | a.eq_ignore_ascii_case(b);
532
532
| ~~~~~~~~~~~~~~~~~~~~~~~~~
533
533
534
- error: manually doing case-insensitive ASCII comparison
534
+ error: manual case-insensitive ASCII comparison
535
535
--> tests/ui/manual_ignore_case_cmp.rs:106:5
536
536
|
537
537
LL | b.to_ascii_lowercase() == a.to_ascii_lowercase();
0 commit comments