update changelog #2598
Annotations
7 warnings
|
creating a new box:
azalea-chat/src/text_component.rs#L149
warning: creating a new box
--> azalea-chat/src/text_component.rs:149:9
|
149 | self.base.style = Box::new(style);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace existing content with inner value instead: `*self.base.style = style`
|
= note: this creates a needless allocation
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#replace_box
|
|
creating a new box:
azalea-chat/src/component.rs#L604
warning: creating a new box
--> azalea-chat/src/component.rs:604:9
|
604 | *new_style = Box::new(new_style.merged_with(&base_style));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace existing content with inner value instead: `**new_style = new_style.merged_with(&base_style)`
|
= note: this creates a needless allocation
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#replace_box
|
|
creating a new box:
azalea-chat/src/component.rs#L388
warning: creating a new box
--> azalea-chat/src/component.rs:388:13
|
388 | component.get_base_mut().style = Box::new(style);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace existing content with inner value instead: `*component.get_base_mut().style = style`
|
= note: this creates a needless allocation
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#replace_box
= note: `#[warn(clippy::replace_box)]` on by default
|
|
clippy_check
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/
|
|
clippy_check
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/
|
|
clippy_check
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/
|
|
clippy_check
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/
|