minor memory usage optimizations #575
Annotations
5 warnings
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/
|
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`:
azalea-brigadier/src/command_dispatcher.rs#L292
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> azalea-brigadier/src/command_dispatcher.rs:292:21
|
292 | / match &context.command {
293 | | Some(context_command) => {
294 | | found_command = true;
... |
304 | | _ => {}
305 | | }
| |_____________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
292 ~ if let Some(context_command) = &context.command {
293 + found_command = true;
294 +
295 + let value = context_command(context);
296 + result += value;
297 + // consumer.on_command_complete(context, true, value);
298 + successful_forks += 1;
299 +
300 + // TODO: allow context_command to error and handle
301 + // those errors
302 + }
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
|
21.8 MB |
|