Skip to content

Fixed lints

Fixed lints #24

Triggered via push July 29, 2024 09:44
Status Success
Total duration 1m 58s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
unused variable: `storage`: src/rest/routes.rs#L222
warning: unused variable: `storage` --> src/rest/routes.rs:222:13 | 222 | let storage = Storage::new(root.into_path()).expect("unable to create storage handler"); | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` | = note: `#[warn(unused_variables)]` on by default
unused import: `tower::util::ServiceExt`: src/rest/routes.rs#L214
warning: unused import: `tower::util::ServiceExt` --> src/rest/routes.rs:214:9 | 214 | use tower::util::ServiceExt; | ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `axum::http::Request`: src/rest/routes.rs#L213
warning: unused import: `axum::http::Request` --> src/rest/routes.rs:213:9 | 213 | use axum::http::Request; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
unused variable: `storage`: src/rest/routes.rs#L222
warning: unused variable: `storage` --> src/rest/routes.rs:222:13 | 222 | let storage = Storage::new(root.into_path()).expect("unable to create storage handler"); | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` | = note: `#[warn(unused_variables)]` on by default
unused import: `tower::util::ServiceExt`: src/rest/routes.rs#L214
warning: unused import: `tower::util::ServiceExt` --> src/rest/routes.rs:214:9 | 214 | use tower::util::ServiceExt; | ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `axum::http::Request`: src/rest/routes.rs#L213
warning: unused import: `axum::http::Request` --> src/rest/routes.rs:213:9 | 213 | use axum::http::Request; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default