Remove team name prefixes and prevent webhook username from being too… #165
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors and 1 warning
|
Build on ubuntu
The run was canceled by @Earthcomputer.
|
|
Build on ubuntu
The operation was canceled.
|
|
unnecessary closure used to substitute value for `Option::None`:
src/pterodactyl/smp_commands.rs#L364
warning: unnecessary closure used to substitute value for `Option::None`
--> src/pterodactyl/smp_commands.rs:364:32
|
364 | let non_whitespace_index = result
| ________________________________^
365 | | .find(|char: char| !char.is_whitespace())
366 | | .unwrap_or_else(|| result.len());
| |________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
help: use `unwrap_or` instead
|
366 | .unwrap_or(result.len());
| ~~~~~~~~~~~~~~~~~~~~~~~
|