Skip to content

chore: Prepare for release #4

chore: Prepare for release

chore: Prepare for release #4

GitHub Actions / clippy failed Mar 1, 2024 in 1s

clippy

41 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 41
Warning 0
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 626 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:619:30
    |
619 |       let template_9_answers = vec![
    |  ______________________________^
620 | |         "&comma=%2C&dot=.&semi=%3B",
621 | |         "&comma=%2C&semi=%3B&dot=.",
622 | |         "&dot=.&comma=%2C&semi=%3B",
...   |
625 | |         "&semi=%3B&dot=.&comma=%2C",
626 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
619 ~     let template_9_answers = ["&comma=%2C&dot=.&semi=%3B",
620 +         "&comma=%2C&semi=%3B&dot=.",
621 +         "&dot=.&comma=%2C&semi=%3B",
622 +         "&dot=.&semi=%3B&comma=%2C",
623 +         "&semi=%3B&comma=%2C&dot=.",
624 ~         "&semi=%3B&dot=.&comma=%2C"];
    |

Check failure on line 617 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:610:30
    |
610 |       let template_8_answers = vec![
    |  ______________________________^
611 | |         "&keys=comma,%2C,dot,.,semi,%3B",
612 | |         "&keys=comma,%2C,semi,%3B,dot,.",
613 | |         "&keys=dot,.,comma,%2C,semi,%3B",
...   |
616 | |         "&keys=semi,%3B,dot,.,comma,%2C",
617 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
610 ~     let template_8_answers = ["&keys=comma,%2C,dot,.,semi,%3B",
611 +         "&keys=comma,%2C,semi,%3B,dot,.",
612 +         "&keys=dot,.,comma,%2C,semi,%3B",
613 +         "&keys=dot,.,semi,%3B,comma,%2C",
614 +         "&keys=semi,%3B,comma,%2C,dot,.",
615 ~         "&keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 560 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:553:30
    |
553 |       let template_9_answers = vec![
    |  ______________________________^
554 | |         "?comma=%2C&dot=.&semi=%3B",
555 | |         "?comma=%2C&semi=%3B&dot=.",
556 | |         "?dot=.&comma=%2C&semi=%3B",
...   |
559 | |         "?semi=%3B&dot=.&comma=%2C",
560 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
553 ~     let template_9_answers = ["?comma=%2C&dot=.&semi=%3B",
554 +         "?comma=%2C&semi=%3B&dot=.",
555 +         "?dot=.&comma=%2C&semi=%3B",
556 +         "?dot=.&semi=%3B&comma=%2C",
557 +         "?semi=%3B&comma=%2C&dot=.",
558 ~         "?semi=%3B&dot=.&comma=%2C"];
    |

Check failure on line 551 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:544:30
    |
544 |       let template_8_answers = vec![
    |  ______________________________^
545 | |         "?keys=comma,%2C,dot,.,semi,%3B",
546 | |         "?keys=comma,%2C,semi,%3B,dot,.",
547 | |         "?keys=dot,.,comma,%2C,semi,%3B",
...   |
550 | |         "?keys=semi,%3B,dot,.,comma,%2C",
551 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
544 ~     let template_8_answers = ["?keys=comma,%2C,dot,.,semi,%3B",
545 +         "?keys=comma,%2C,semi,%3B,dot,.",
546 +         "?keys=dot,.,comma,%2C,semi,%3B",
547 +         "?keys=dot,.,semi,%3B,comma,%2C",
548 +         "?keys=semi,%3B,comma,%2C,dot,.",
549 ~         "?keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 494 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:487:31
    |
487 |       let template_12_answers = vec![
    |  _______________________________^
488 | |         ";comma=%2C;dot=.;semi=%3B",
489 | |         ";comma=%2C;semi=%3B;dot=.",
490 | |         ";dot=.;comma=%2C;semi=%3B",
...   |
493 | |         ";semi=%3B;dot=.;comma=%2C",
494 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
487 ~     let template_12_answers = [";comma=%2C;dot=.;semi=%3B",
488 +         ";comma=%2C;semi=%3B;dot=.",
489 +         ";dot=.;comma=%2C;semi=%3B",
490 +         ";dot=.;semi=%3B;comma=%2C",
491 +         ";semi=%3B;comma=%2C;dot=.",
492 ~         ";semi=%3B;dot=.;comma=%2C"];
    |

Check failure on line 485 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:478:31
    |
478 |       let template_11_answers = vec![
    |  _______________________________^
479 | |         ";keys=comma,%2C,dot,.,semi,%3B",
480 | |         ";keys=comma,%2C,semi,%3B,dot,.",
481 | |         ";keys=dot,.,comma,%2C,semi,%3B",
...   |
484 | |         ";keys=semi,%3B,dot,.,comma,%2C",
485 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
478 ~     let template_11_answers = [";keys=comma,%2C,dot,.,semi,%3B",
479 +         ";keys=comma,%2C,semi,%3B,dot,.",
480 +         ";keys=dot,.,comma,%2C,semi,%3B",
481 +         ";keys=dot,.,semi,%3B,comma,%2C",
482 +         ";keys=semi,%3B,comma,%2C,dot,.",
483 ~         ";keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 422 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:415:31
    |
415 |       let template_13_answers = vec![
    |  _______________________________^
416 | |         "/comma=%2C/dot=./semi=%3B",
417 | |         "/comma=%2C/semi=%3B/dot=.",
418 | |         "/dot=./comma=%2C/semi=%3B",
...   |
421 | |         "/semi=%3B/dot=./comma=%2C",
422 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
415 ~     let template_13_answers = ["/comma=%2C/dot=./semi=%3B",
416 +         "/comma=%2C/semi=%3B/dot=.",
417 +         "/dot=./comma=%2C/semi=%3B",
418 +         "/dot=./semi=%3B/comma=%2C",
419 +         "/semi=%3B/comma=%2C/dot=.",
420 ~         "/semi=%3B/dot=./comma=%2C"];
    |

Check failure on line 413 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:406:31
    |
406 |       let template_12_answers = vec![
    |  _______________________________^
407 | |         "/comma,%2C,dot,.,semi,%3B",
408 | |         "/comma,%2C,semi,%3B,dot,.",
409 | |         "/dot,.,comma,%2C,semi,%3B",
...   |
412 | |         "/semi,%3B,dot,.,comma,%2C",
413 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
406 ~     let template_12_answers = ["/comma,%2C,dot,.,semi,%3B",
407 +         "/comma,%2C,semi,%3B,dot,.",
408 +         "/dot,.,comma,%2C,semi,%3B",
409 +         "/dot,.,semi,%3B,comma,%2C",
410 +         "/semi,%3B,comma,%2C,dot,.",
411 ~         "/semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 346 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:339:31
    |
339 |       let template_11_answers = vec![
    |  _______________________________^
340 | |         "#comma=,,dot=.,semi=;",
341 | |         "#comma=,,semi=;,dot=.",
342 | |         "#dot=.,comma=,,semi=;",
...   |
345 | |         "#semi=;,dot=.,comma=,",
346 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
339 ~     let template_11_answers = ["#comma=,,dot=.,semi=;",
340 +         "#comma=,,semi=;,dot=.",
341 +         "#dot=.,comma=,,semi=;",
342 +         "#dot=.,semi=;,comma=,",
343 +         "#semi=;,comma=,,dot=.",
344 ~         "#semi=;,dot=.,comma=,"];
    |

Check failure on line 337 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:330:31
    |
330 |       let template_10_answers = vec![
    |  _______________________________^
331 | |         "#comma,,,dot,.,semi,;",
332 | |         "#comma,,,semi,;,dot,.",
333 | |         "#dot,.,comma,,,semi,;",
...   |
336 | |         "#semi,;,dot,.,comma,,",
337 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
330 ~     let template_10_answers = ["#comma,,,dot,.,semi,;",
331 +         "#comma,,,semi,;,dot,.",
332 +         "#dot,.,comma,,,semi,;",
333 +         "#dot,.,semi,;,comma,,",
334 +         "#semi,;,comma,,,dot,.",
335 ~         "#semi,;,dot,.,comma,,"];
    |

Check failure on line 274 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:267:31
    |
267 |       let template_10_answers = vec![
    |  _______________________________^
268 | |         "#comma,,,dot,.,semi,;",
269 | |         "#comma,,,semi,;,dot,.",
270 | |         "#dot,.,comma,,,semi,;",
...   |
273 | |         "#semi,;,dot,.,comma,,",
274 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
267 ~     let template_10_answers = ["#comma,,,dot,.,semi,;",
268 +         "#comma,,,semi,;,dot,.",
269 +         "#dot,.,comma,,,semi,;",
270 +         "#dot,.,semi,;,comma,,",
271 +         "#semi,;,comma,,,dot,.",
272 ~         "#semi,;,dot,.,comma,,"];
    |

Check failure on line 214 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:207:31
    |
207 |       let template_18_answers = vec![
    |  _______________________________^
208 | |         "comma=,,dot=.,semi=;",
209 | |         "comma=,,semi=;,dot=.",
210 | |         "dot=.,comma=,,semi=;",
...   |
213 | |         "semi=;,dot=.,comma=,",
214 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
207 ~     let template_18_answers = ["comma=,,dot=.,semi=;",
208 +         "comma=,,semi=;,dot=.",
209 +         "dot=.,comma=,,semi=;",
210 +         "dot=.,semi=;,comma=,",
211 +         "semi=;,comma=,,dot=.",
212 ~         "semi=;,dot=.,comma=,"];
    |

Check failure on line 205 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:198:31
    |
198 |       let template_17_answers = vec![
    |  _______________________________^
199 | |         "comma,,,dot,.,semi,;",
200 | |         "comma,,,semi,;,dot,.",
201 | |         "dot,.,comma,,,semi,;",
...   |
204 | |         "semi,;,dot,.,comma,,",
205 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
198 ~     let template_17_answers = ["comma,,,dot,.,semi,;",
199 +         "comma,,,semi,;,dot,.",
200 +         "dot,.,comma,,,semi,;",
201 +         "dot,.,semi,;,comma,,",
202 +         "semi,;,comma,,,dot,.",
203 ~         "semi,;,dot,.,comma,,"];
    |

Check failure on line 127 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:120:31
    |
120 |       let template_15_answers = vec![
    |  _______________________________^
121 | |         "comma=%2C,dot=.,semi=%3B",
122 | |         "comma=%2C,semi=%3B,dot=.",
123 | |         "dot=.,comma=%2C,semi=%3B",
...   |
126 | |         "semi=%3B,dot=.,comma=%2C",
127 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
120 ~     let template_15_answers = ["comma=%2C,dot=.,semi=%3B",
121 +         "comma=%2C,semi=%3B,dot=.",
122 +         "dot=.,comma=%2C,semi=%3B",
123 +         "dot=.,semi=%3B,comma=%2C",
124 +         "semi=%3B,comma=%2C,dot=.",
125 ~         "semi=%3B,dot=.,comma=%2C"];
    |

Check failure on line 118 in tests/spec_examples_by_section.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples_by_section.rs:111:31
    |
111 |       let template_14_answers = vec![
    |  _______________________________^
112 | |         "comma,%2C,dot,.,semi,%3B",
113 | |         "comma,%2C,semi,%3B,dot,.",
114 | |         "dot,.,comma,%2C,semi,%3B",
...   |
117 | |         "semi,%3B,dot,.,comma,%2C",
118 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
    = note: `-D clippy::useless-vec` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
help: you can use an array directly
    |
111 ~     let template_14_answers = ["comma,%2C,dot,.,semi,%3B",
112 +         "comma,%2C,semi,%3B,dot,.",
113 +         "dot,.,comma,%2C,semi,%3B",
114 +         "dot,.,semi,%3B,comma,%2C",
115 +         "semi,%3B,comma,%2C,dot,.",
116 ~         "semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 307 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:300:31
    |
300 |       let template_40_answers = vec![
    |  _______________________________^
301 | |         "&comma=%2C&dot=.&semi=%3B",
302 | |         "&comma=%2C&semi=%3B&dot=.",
303 | |         "&dot=.&comma=%2C&semi=%3B",
...   |
306 | |         "&semi=%3B&dot=.&comma=%2C",
307 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
300 ~     let template_40_answers = ["&comma=%2C&dot=.&semi=%3B",
301 +         "&comma=%2C&semi=%3B&dot=.",
302 +         "&dot=.&comma=%2C&semi=%3B",
303 +         "&dot=.&semi=%3B&comma=%2C",
304 +         "&semi=%3B&comma=%2C&dot=.",
305 ~         "&semi=%3B&dot=.&comma=%2C"];
    |

Check failure on line 298 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:291:31
    |
291 |       let template_39_answers = vec![
    |  _______________________________^
292 | |         "&keys=comma,%2C,dot,.,semi,%3B",
293 | |         "&keys=comma,%2C,semi,%3B,dot,.",
294 | |         "&keys=dot,.,comma,%2C,semi,%3B",
...   |
297 | |         "&keys=semi,%3B,dot,.,comma,%2C",
298 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
291 ~     let template_39_answers = ["&keys=comma,%2C,dot,.,semi,%3B",
292 +         "&keys=comma,%2C,semi,%3B,dot,.",
293 +         "&keys=dot,.,comma,%2C,semi,%3B",
294 +         "&keys=dot,.,semi,%3B,comma,%2C",
295 +         "&keys=semi,%3B,comma,%2C,dot,.",
296 ~         "&keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 286 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:279:31
    |
279 |       let template_35_answers = vec![
    |  _______________________________^
280 | |         "?comma=%2C&dot=.&semi=%3B",
281 | |         "?comma=%2C&semi=%3B&dot=.",
282 | |         "?dot=.&comma=%2C&semi=%3B",
...   |
285 | |         "?semi=%3B&dot=.&comma=%2C",
286 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
279 ~     let template_35_answers = ["?comma=%2C&dot=.&semi=%3B",
280 +         "?comma=%2C&semi=%3B&dot=.",
281 +         "?dot=.&comma=%2C&semi=%3B",
282 +         "?dot=.&semi=%3B&comma=%2C",
283 +         "?semi=%3B&comma=%2C&dot=.",
284 ~         "?semi=%3B&dot=.&comma=%2C"];
    |

Check failure on line 277 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:270:31
    |
270 |       let template_34_answers = vec![
    |  _______________________________^
271 | |         "?keys=comma,%2C,dot,.,semi,%3B",
272 | |         "?keys=comma,%2C,semi,%3B,dot,.",
273 | |         "?keys=dot,.,comma,%2C,semi,%3B",
...   |
276 | |         "?keys=semi,%3B,dot,.,comma,%2C",
277 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
270 ~     let template_34_answers = ["?keys=comma,%2C,dot,.,semi,%3B",
271 +         "?keys=comma,%2C,semi,%3B,dot,.",
272 +         "?keys=dot,.,comma,%2C,semi,%3B",
273 +         "?keys=dot,.,semi,%3B,comma,%2C",
274 +         "?keys=semi,%3B,comma,%2C,dot,.",
275 ~         "?keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 265 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:258:31
    |
258 |       let template_30_answers = vec![
    |  _______________________________^
259 | |         ";comma=%2C;dot=.;semi=%3B",
260 | |         ";comma=%2C;semi=%3B;dot=.",
261 | |         ";dot=.;comma=%2C;semi=%3B",
...   |
264 | |         ";semi=%3B;dot=.;comma=%2C",
265 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
258 ~     let template_30_answers = [";comma=%2C;dot=.;semi=%3B",
259 +         ";comma=%2C;semi=%3B;dot=.",
260 +         ";dot=.;comma=%2C;semi=%3B",
261 +         ";dot=.;semi=%3B;comma=%2C",
262 +         ";semi=%3B;comma=%2C;dot=.",
263 ~         ";semi=%3B;dot=.;comma=%2C"];
    |

Check failure on line 256 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:249:31
    |
249 |       let template_29_answers = vec![
    |  _______________________________^
250 | |         ";keys=comma,%2C,dot,.,semi,%3B",
251 | |         ";keys=comma,%2C,semi,%3B,dot,.",
252 | |         ";keys=dot,.,comma,%2C,semi,%3B",
...   |
255 | |         ";keys=semi,%3B,dot,.,comma,%2C",
256 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
249 ~     let template_29_answers = [";keys=comma,%2C,dot,.,semi,%3B",
250 +         ";keys=comma,%2C,semi,%3B,dot,.",
251 +         ";keys=dot,.,comma,%2C,semi,%3B",
252 +         ";keys=dot,.,semi,%3B,comma,%2C",
253 +         ";keys=semi,%3B,comma,%2C,dot,.",
254 ~         ";keys=semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 244 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:237:31
    |
237 |       let template_25_answers = vec![
    |  _______________________________^
238 | |         "/comma=%2C/dot=./semi=%3B",
239 | |         "/comma=%2C/semi=%3B/dot=.",
240 | |         "/dot=./comma=%2C/semi=%3B",
...   |
243 | |         "/semi=%3B/dot=./comma=%2C",
244 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
237 ~     let template_25_answers = ["/comma=%2C/dot=./semi=%3B",
238 +         "/comma=%2C/semi=%3B/dot=.",
239 +         "/dot=./comma=%2C/semi=%3B",
240 +         "/dot=./semi=%3B/comma=%2C",
241 +         "/semi=%3B/comma=%2C/dot=.",
242 ~         "/semi=%3B/dot=./comma=%2C"];
    |

Check failure on line 235 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:228:31
    |
228 |       let template_24_answers = vec![
    |  _______________________________^
229 | |         "/comma,%2C,dot,.,semi,%3B",
230 | |         "/comma,%2C,semi,%3B,dot,.",
231 | |         "/dot,.,comma,%2C,semi,%3B",
...   |
234 | |         "/semi,%3B,dot,.,comma,%2C",
235 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
228 ~     let template_24_answers = ["/comma,%2C,dot,.,semi,%3B",
229 +         "/comma,%2C,semi,%3B,dot,.",
230 +         "/dot,.,comma,%2C,semi,%3B",
231 +         "/dot,.,semi,%3B,comma,%2C",
232 +         "/semi,%3B,comma,%2C,dot,.",
233 ~         "/semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 222 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:215:31
    |
215 |       let template_19_answers = vec![
    |  _______________________________^
216 | |         "X.comma,%2C,dot,.,semi,%3B",
217 | |         "X.comma,%2C,semi,%3B,dot,.",
218 | |         "X.dot,.,comma,%2C,semi,%3B",
...   |
221 | |         "X.semi,%3B,dot,.,comma,%2C",
222 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
215 ~     let template_19_answers = ["X.comma,%2C,dot,.,semi,%3B",
216 +         "X.comma,%2C,semi,%3B,dot,.",
217 +         "X.dot,.,comma,%2C,semi,%3B",
218 +         "X.dot,.,semi,%3B,comma,%2C",
219 +         "X.semi,%3B,comma,%2C,dot,.",
220 ~         "X.semi,%3B,dot,.,comma,%2C"];
    |

Check failure on line 210 in tests/spec_examples.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless use of `vec!`

error: useless use of `vec!`
   --> tests/spec_examples.rs:203:31
    |
203 |       let template_15_answers = vec![
    |  _______________________________^
204 | |         "#comma=,,dot=.,semi=;",
205 | |         "#comma=,,semi=;,dot=.",
206 | |         "#dot=.,comma=,,semi=;",
...   |
209 | |         "#semi=;,dot=.,comma=,",
210 | |     ];
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
help: you can use an array directly
    |
203 ~     let template_15_answers = ["#comma=,,dot=.,semi=;",
204 +         "#comma=,,semi=;,dot=.",
205 +         "#dot=.,comma=,,semi=;",
206 +         "#dot=.,semi=;,comma=,",
207 +         "#semi=;,comma=,,dot=.",
208 ~         "#semi=;,dot=.,comma=,"];
    |