add routes endpoint #52
Annotations
6 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
fpx/src/data/models.rs#L11
unused import: `wasm_bindgen::JsValue`
|
fpx/src/data/models.rs#L11
[clippy] reported by reviewdog 🐶
warning: unused import: `wasm_bindgen::JsValue`
--> fpx/src/data/models.rs:11:5
|
11 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
fpx/src/data/models.rs:11:5:w:warning: unused import: `wasm_bindgen::JsValue`
--> fpx/src/data/models.rs:11:5
|
11 | use wasm_bindgen::JsValue;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|
fpx/src/data/models.rs#L106
[clippy] reported by reviewdog 🐶
warning: direct implementation of `ToString`
--> fpx/src/data/models.rs:106:1
|
106 | / impl ToString for RouteOrigin {
107 | | fn to_string(&self) -> String {
108 | | serde_json::to_string(&self).expect("serialization to always work")
109 | | }
110 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
Raw Output:
fpx/src/data/models.rs:106:1:w:warning: direct implementation of `ToString`
--> fpx/src/data/models.rs:106:1
|
106 | / impl ToString for RouteOrigin {
107 | | fn to_string(&self) -> String {
108 | | serde_json::to_string(&self).expect("serialization to always work")
109 | | }
110 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
__END__
|
fpx/src/data/models.rs#L126
[clippy] reported by reviewdog 🐶
warning: direct implementation of `ToString`
--> fpx/src/data/models.rs:126:1
|
126 | / impl ToString for RequestType {
127 | | fn to_string(&self) -> String {
128 | | serde_json::to_string(&self).expect("serialization to always work")
129 | | }
130 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
Raw Output:
fpx/src/data/models.rs:126:1:w:warning: direct implementation of `ToString`
--> fpx/src/data/models.rs:126:1
|
126 | / impl ToString for RequestType {
127 | | fn to_string(&self) -> String {
128 | | serde_json::to_string(&self).expect("serialization to always work")
129 | | }
130 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
__END__
|
fpx/src/data/models.rs#L11
unused import: `wasm_bindgen::JsValue`
|
This job succeeded
Loading