Inline format! args wherever possible

This commit is contained in:
Lena authored and Martin Nordholts committed 2024-02-25 00:38:11 +01:00
1 parent 487bed2d95
commit 4c85483486
17 files changed
+35 -40

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ impl<'a> Input<'a> {
InputKind::StdIn => {
if let Some(stdout) = stdout_identifier {
let input_identifier = Identifier::try_from(clircle::Stdio::Stdin)
.map_err(|e| format!("Stdin: Error identifying file: {}", e))?;
.map_err(|e| format!("Stdin: Error identifying file: {e}"))?;
if stdout.surely_conflicts_with(&input_identifier) {
return Err("IO circle detected. The input from stdin is also an output. Aborting to avoid infinite loop.".into());
}