♻️ remove variable decl that became obsolete after optional struct up… #929
ci.yml
on: push
Debounce
0s
Lint
/
fmt
4s
Lint
/
clippy
19s
Lint
/
msrv
23s
Lint
/
actionlint
7s
Lint
/
renovate-linter
35s
Matrix: Test
Matrix: Release / build
Annotations
2 warnings and 1 notice
the borrowed expression implements the required traits:
src/modules/location.rs#L82
warning: the borrowed expression implements the required traits
--> src/modules/location.rs:82:5
|
82 | / &ApiQuery::location(ApiName::OpenStreetMap, address, language)
83 | | .convert()
84 | | .assemble(),
| |_______________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
help: change this to
|
82 ~ ApiQuery::location(ApiName::OpenStreetMap, address, language)
83 ~ .convert()
84 ~ .assemble(),
|
|
the borrowed expression implements the required traits:
src/modules/location.rs#L97
warning: the borrowed expression implements the required traits
--> src/modules/location.rs:97:9
|
97 | .get(&ApiQuery::location(ApiName::OpenMeteo, address, language).convert().assemble())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `ApiQuery::location(ApiName::OpenMeteo, address, language).convert().assemble()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
9 tests found
There are 9 tests, see "Raw output" for the full list of tests.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wthrr-linux-x86_64
|
6.66 MB |
|
wthrr-macos-arm64
|
2.17 MB |
|
wthrr-macos-x86_64
|
2.23 MB |
|
wthrr-windows-x86_64
|
2.28 MB |
|