modify some docs #465
Annotations
10 warnings
called `map(..).flatten()` on `Option`:
azalea/src/pathfinder/simulation.rs#L159
warning: called `map(..).flatten()` on `Option`
--> azalea/src/pathfinder/simulation.rs:159:14
|
159 | .map(|c| *c)
| ______________^
160 | | .flatten()
| |______________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|c| *c)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
= note: `#[warn(clippy::map_flatten)]` on by default
|
large size difference between variants:
azalea-client/src/local_player.rs#L141
warning: large size difference between variants
--> azalea-client/src/local_player.rs:141:1
|
141 | / pub enum HandlePacketError {
142 | | #[error("{0}")]
143 | | Poison(String),
| | -------------- the second-largest variant contains at least 24 bytes
144 | | #[error(transparent)]
... |
149 | | Send(#[from] mpsc::error::SendError<AzaleaEvent>),
| | ------------------------------------------------- the largest variant contains at least 232 bytes
150 | | }
| |_^ the entire enum is at least 0 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
149 | Send(#[from] Box<mpsc::error::SendError<AzaleaEvent>>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions/configure-pages@v2, actions/upload-artifact@v3, actions/deploy-pages@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "github-pages".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|