We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29512d3 commit a2d6232Copy full SHA for a2d6232
src/bin/uudoc.rs
@@ -290,7 +290,6 @@ fn main() -> io::Result<()> {
290
291
println!("Writing to utils");
292
for (&name, (_, command)) in utils {
293
- let mut usage_name = name.to_string();
294
let name = match name {
295
"[" => {
296
continue;
@@ -299,9 +298,9 @@ fn main() -> io::Result<()> {
299
298
| "sha3sum" | "sha3-224sum" | "sha3-256sum" | "sha3-384sum" | "sha3-512sum"
300
| "shake128sum" | "shake256sum" | "b2sum" | "b3sum" => {
301
// These use the hashsum
302
- usage_name = "hashsum".to_string();
+ "hashsum"
303
}
304
- _ => {}
+ n => n
305
};
306
let p = format!("docs/src/utils/{name}.md");
307
0 commit comments