Skip to content

Commit 966efcc

Browse files
fix: missed a clippy warning
1 parent cd62a5e commit 966efcc

File tree

1 file changed

+1
-1
lines changed
  • warcraft-rs/src/commands

1 file changed

+1
-1
lines changed

warcraft-rs/src/commands/adt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ fn execute_batch(
668668
let mut writer = BufWriter::new(f);
669669
converted
670670
.write(&mut writer)
671-
.map_err(|e| std::io::Error::other(e))
671+
.map_err(std::io::Error::other)
672672
})
673673
.map_err(|e| anyhow::anyhow!("{}", e))
674674
}

0 commit comments

Comments
 (0)