Skip to content

Bump env_logger from 0.11.2 to 0.11.3 #31

Bump env_logger from 0.11.2 to 0.11.3

Bump env_logger from 0.11.2 to 0.11.3 #31

Triggered via push March 18, 2024 18:25
Status Success
Total duration 49s
Artifacts

test.yml

on: push
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

12 errors
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L3257
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:3257:13 | 3257 | (*c).name = BROKEN.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `BROKEN.clone_into(&mut (*c).name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L3257
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:3257:13 | 3257 | (*c).name = BROKEN.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `BROKEN.clone_into(&mut (*c).name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1993
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1993:13 | 1993 | *text = t.to_str().unwrap().to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `t.to_str().unwrap().clone_into(&mut text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1982
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1982:13 | 1982 | *text = t.to_str().unwrap().to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `t.to_str().unwrap().clone_into(&mut text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1993
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1993:13 | 1993 | *text = t.to_str().unwrap().to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `t.to_str().unwrap().clone_into(&mut text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1982
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1982:13 | 1982 | *text = t.to_str().unwrap().to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `t.to_str().unwrap().clone_into(&mut text)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1845
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1845:13 | 1845 | STEXT = "rwm-0.0.1".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"rwm-0.0.1".clone_into(&mut STEXT)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L1845
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:1845:13 | 1845 | STEXT = "rwm-0.0.1".to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `"rwm-0.0.1".clone_into(&mut STEXT)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L902
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:902:9 | 902 | (*m).ltsymbol = (*(*m).lt[(*m).sellt]).symbol.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `(*(*m).lt[(*m).sellt]).symbol.clone_into(&mut (*m).ltsymbol)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L902
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:902:9 | 902 | (*m).ltsymbol = (*(*m).lt[(*m).sellt]).symbol.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `(*(*m).lt[(*m).sellt]).symbol.clone_into(&mut (*m).ltsymbol)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L867
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:867:9 | 867 | (*SELMON).ltsymbol = (*(*SELMON).lt[(*SELMON).sellt]).symbol.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `(*(*SELMON).lt[(*SELMON).sellt]).symbol.clone_into(&mut (*SELMON).ltsymbol)` | = 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)]`
assigning the result of `ToOwned::to_owned()` may be inefficient: src/main.rs#L867
error: assigning the result of `ToOwned::to_owned()` may be inefficient --> src/main.rs:867:9 | 867 | (*SELMON).ltsymbol = (*(*SELMON).lt[(*SELMON).sellt]).symbol.to_owned(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `(*(*SELMON).lt[(*SELMON).sellt]).symbol.clone_into(&mut (*SELMON).ltsymbol)` | = 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)]`