From 648ef8148cf1e6067e1db728bcbbe04ac1faeb1e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 6 Aug 2023 23:19:48 +0200 Subject: Use block comments like a C-chad --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 97d3f88..8ac0223 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,7 +76,7 @@ fn work() -> Result<(), io::Error> { }; let (cmd, args) = rest.split_first().unwrap_or_else(|| usage(None)); - // Collect sources from standard input + /* Collect sources from standard input */ let srcs = io::stdin() .bytes() .map(|x| { @@ -235,7 +235,7 @@ fn run_multi( err!("Failed to spawn utility “{}”: {e}", cmd.to_str().unwrap()); }); - // Pass the source files to the child process. + /* Pass the source files to the child process. */ { let ci = child.stdin.take().unwrap_or_else(|| { err!("Could not open the child process’ stdin"); @@ -255,7 +255,7 @@ fn run_multi( } } - // Read the destination file list from the process. + /* Read the destination file list from the process. */ let co = child.stdout.take().unwrap_or_else(|| { err!("Count not open the child process’ stdout."); }); -- cgit v1.2.3