1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

uudoc: Fix for edition 2024

This change is documented here: https://doc.rust-lang.org/nightly/edition-guide/rust-2024/match-ergonomics.html

I'm... not sure to understand everything, but this change is what
`cargo fix --edition --features="uudoc" --allow-dirty`
suggests.

Fixes #7572.
This commit is contained in:
Nicolas Boichat 2025-03-25 12:10:34 +01:00
parent b0e0059251
commit 5d53da9f3e

View file

@ -114,7 +114,7 @@ fn main() -> io::Result<()> {
"| util | Linux | macOS | Windows | FreeBSD | Android |\n\ "| util | Linux | macOS | Windows | FreeBSD | Android |\n\
| ---------------- | ----- | ----- | ------- | ------- | ------- |" | ---------------- | ----- | ----- | ------- | ------- | ------- |"
)?; )?;
for (&name, _) in &utils { for &(&name, _) in &utils {
if name == "[" { if name == "[" {
continue; continue;
} }