Skip to content

chore(deps): bump serde from 1.0.208 to 1.0.210 (#108) #327

chore(deps): bump serde from 1.0.208 to 1.0.210 (#108)

chore(deps): bump serde from 1.0.208 to 1.0.210 (#108) #327

Triggered via push October 8, 2024 11:04
Status Success
Total duration 39s
Artifacts

build.yml

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

Annotations

3 errors
match can be simplified with `.unwrap_or_default()`: src/utils.rs#L127
error: match can be simplified with `.unwrap_or_default()` --> src/utils.rs:127:55 | 127 | let json_response: Option<TraktAccessToken> = match response.into_json() { | _______________________________________________________^ 128 | | Ok(body) => body, 129 | | Err(_) => None, 130 | | }; | |_________^ help: replace it with: `response.into_json().unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
match can be simplified with `.unwrap_or_default()`: src/utils.rs#L91
error: match can be simplified with `.unwrap_or_default()` --> src/utils.rs:91:55 | 91 | let json_response: Option<TraktAccessToken> = match response.into_json() { | _______________________________________________________^ 92 | | Ok(body) => body, 93 | | Err(_) => None, 94 | | }; | |_________^ help: replace it with: `response.into_json().unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
match can be simplified with `.unwrap_or_default()`: src/trakt.rs#L105
error: match can be simplified with `.unwrap_or_default()` --> src/trakt.rs:105:9 | 105 | / match response.into_json() { 106 | | Ok(body) => body, 107 | | Err(_) => None, 108 | | } | |_________^ help: replace it with: `response.into_json().unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default = note: `-D clippy::manual-unwrap-or-default` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::manual_unwrap_or_default)]`