diff options
| author | Count Count <countvoncount123456@gmail.com> | 2021-03-24 10:06:31 +0100 |
|---|---|---|
| committer | Count Count <countvoncount123456@gmail.com> | 2021-03-24 10:06:31 +0100 |
| commit | 34cfe383e5ecdea538582bd08736a80f555c0adc (patch) | |
| tree | cb466410ef6466a149f93bb31ff400245cf05712 | |
| parent | fb1fa97fdcad00785cece5fbd9d42157c253e976 (diff) | |
correct comment
| -rw-r--r-- | library/std/src/sys/windows/stdio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/windows/stdio.rs b/library/std/src/sys/windows/stdio.rs index 24bc2a1e540..a2def41625d 100644 --- a/library/std/src/sys/windows/stdio.rs +++ b/library/std/src/sys/windows/stdio.rs @@ -102,7 +102,7 @@ fn write( Ok(s) => { assert_eq!(char_width, s.len()); let written = write_valid_utf8(handle, s)?; - assert_eq!(written, s.len()); // guaranteed by write0() for single codepoint writes + assert_eq!(written, s.len()); // guaranteed by write_valid_utf8() for single codepoint writes return Ok(1); } Err(_) => { |
