fix: Toast On Refresh Failures #52
Annotations
3 warnings
equality checks against false can be replaced by a negation:
src/main.rs#L672
warning: equality checks against false can be replaced by a negation
--> src/app.rs:672:28
|
672 | if response.successful == false {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!response.successful`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: `#[warn(clippy::bool_comparison)]` on by default
|
equality checks against false can be replaced by a negation:
src/main.rs#L734
warning: equality checks against false can be replaced by a negation
--> src/app.rs:734:28
|
734 | if response.successful == false {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!response.successful`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
|
empty line after outer attribute:
src/main.rs#L1195
warning: empty line after outer attribute
--> src/app.rs:1195:5
|
1195 | / #[allow(clippy::unused_self)]
1196 | |
| |_^
1197 | fn settings(&self) -> Element<Message> {
| -------------------------------------- the attribute applies to this method
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default
= help: if the empty line is unintentional remove it
|