Skip to content

Commit f83ea15

Browse files
committed
write -> write_all
1 parent afaf1e6 commit f83ea15

File tree

1 file changed

+1
-1
lines changed
  • spirv-tools/examples

1 file changed

+1
-1
lines changed

spirv-tools/examples/as.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fn main() {
4747
use std::io::Write;
4848
std::io::stdout()
4949
.lock()
50-
.write(binary.as_ref())
50+
.write_all(binary.as_ref())
5151
.expect("failed to write binary to stdout");
5252
} else {
5353
std::fs::write(args.output, &binary).expect("failed to write binary");

0 commit comments

Comments
 (0)