unset line tool when clicked in empty space #7
Annotations
10 errors and 6 warnings
drawing/src/feature.rs#L140
this `else { if .. }` block can be collapsed
|
drawing/src/feature.rs#L169
this `else { if .. }` block can be collapsed
|
drawing/src/data.rs#L54
this `impl` can be derived
|
drawing/src/data.rs#L97
manual implementation of `Option::map`
|
drawing/src/data.rs#L124
use of `filter_map` with an identity function
|
drawing/src/data.rs#L150
using `clone` on type `DefaultKey` which implements the `Copy` trait
|
drawing/src/tools.rs#L81
match expression looks like `matches!` macro
|
drawing/src/tools.rs#L137
using `clone` on type `Pos2` which implements the `Copy` trait
|
drawing/src/tools.rs#L173
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
|
drawing/src/lib.rs#L154
length comparison to zero
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
The logs for this run have expired and are no longer available.
Loading