Skip to content

Add a README.

Add a README. #7

GitHub Actions / clippy failed May 6, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.78.0 (9b00956e5 2024-04-29)
  • cargo 1.78.0 (54d8815d0 2024-03-26)
  • clippy 0.1.78 (9b00956 2024-04-29)

Annotations

Check failure on line 107 in astro_mod_integrator/src/handlers/item_list_entries.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert_with` to construct default value

error: use of `or_insert_with` to construct default value
   --> astro_mod_integrator/src/handlers/item_list_entries.rs:107:38
    |
107 | ...                   .or_insert_with(Vec::new)
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `-D clippy::unwrap-or-default` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unwrap_or_default)]`

Check failure on line 89 in astro_mod_integrator/src/handlers/item_list_entries.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

assigning the result of `ToOwned::to_owned()` may be inefficient

error: assigning the result of `ToOwned::to_owned()` may be inefficient
  --> astro_mod_integrator/src/handlers/item_list_entries.rs:89:29
   |
89 | ...                   arr_name = split[1].to_owned();
   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `split[1].clone_into(&mut arr_name)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
   = note: `-D clippy::assigning-clones` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::assigning_clones)]`