We are only caring about '=' and '-' which are single-byte codepoints, so there's no reason not to work on a byte slice. Also, some indentation reduction: Transform if (a) { ... return A; } return B; into if (!a) return B; return A; and if (a) if (b) foo() into if (a && b) return; Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
No description provided
Languages
Rust
88.1%
JavaScript
11.3%
Makefile
0.3%
CSS
0.2%