🐛 reimplement padding width calculation to fix border placement for languages with varying unicode character widths #972
ci.yml
on: pull_request
Debounce
0s
Lint
/
fmt
5s
Lint
/
clippy
48s
Lint
/
msrv
23s
Lint
/
actionlint
10s
Lint
/
renovate-linter
40s
Matrix: Test
Matrix: Release / build
Annotations
2 warnings
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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wthrr-linux-x86_64
|
6.81 MB |
|
wthrr-macos-arm64
|
2.22 MB |
|
wthrr-macos-x86_64
|
2.29 MB |
|
wthrr-windows-x86_64
|
2.32 MB |
|