add BlockState::property #373
Annotations
12 warnings
this creates an owned instance just for comparison:
azalea-block/azalea-block-macros/src/lib.rs#L548
warning: this creates an owned instance just for comparison
--> azalea-block/azalea-block-macros/src/lib.rs:548:54
|
548 | .find(|v| v.ident.to_string() == variant.to_string());
| -----------------------^^^^^^^^^^^^^^^^^^^
| |
| help: try: `variant == v.ident.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
|
this creates an owned instance just for comparison:
azalea-block/azalea-block-macros/src/lib.rs#L548
warning: this creates an owned instance just for comparison
--> azalea-block/azalea-block-macros/src/lib.rs:548:31
|
548 | .find(|v| v.ident.to_string() == variant.to_string());
| ^^^^^^^^^^^^^^^^^^^ help: try: `v.ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
|
use of `or_insert_with` to construct default value:
azalea-block/azalea-block-macros/src/lib.rs#L545
warning: use of `or_insert_with` to construct default value
--> azalea-block/azalea-block-macros/src/lib.rs:545:22
|
545 | .or_insert_with(Vec::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
this creates an owned instance just for comparison:
azalea-block/azalea-block-macros/src/lib.rs#L548
warning: this creates an owned instance just for comparison
--> azalea-block/azalea-block-macros/src/lib.rs:548:54
|
548 | .find(|v| v.ident.to_string() == variant.to_string());
| -----------------------^^^^^^^^^^^^^^^^^^^
| |
| help: try: `variant == v.ident.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
|
this creates an owned instance just for comparison:
azalea-block/azalea-block-macros/src/lib.rs#L548
warning: this creates an owned instance just for comparison
--> azalea-block/azalea-block-macros/src/lib.rs:548:31
|
548 | .find(|v| v.ident.to_string() == variant.to_string());
| ^^^^^^^^^^^^^^^^^^^ help: try: `v.ident`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
= note: `#[warn(clippy::cmp_owned)]` on by default
|
use of `or_insert_with` to construct default value:
azalea-block/azalea-block-macros/src/lib.rs#L545
warning: use of `or_insert_with` to construct default value
--> azalea-block/azalea-block-macros/src/lib.rs:545:22
|
545 | .or_insert_with(Vec::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
Invalid file permissions automatically fixed
mode of './target/doc/.lock' changed from 0600 (rw-------) to 0644 (rw-r--r--)
|
deploy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
deploy
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/
|
deploy
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/
|
deploy
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/
|
deploy
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/
|