aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-06 23:19:48 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-06 23:19:48 +0200
commit648ef8148cf1e6067e1db728bcbbe04ac1faeb1e (patch)
treef040e4301c54ae60489d1a69b69424a29a9219da /src
parent0ae1792d193f60926366245b93e31398d603b962 (diff)
Use block comments like a C-chad
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files 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.");
});