Skip to content

Commit a6b0b70

Browse files
committed
---
yaml --- r: 232551 b: refs/heads/try c: b1d07bb h: refs/heads/master i: 232549: 434525d 232547: d913277 232543: 8ea8a17 v: v3
1 parent d24c8d7 commit a6b0b70

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 4c8d75fd9b4e0abf1107647a48e3578907e2e00e
4+
refs/heads/try: b1d07bbe701641e3841c81da808159ef1710f70e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libstd/io/error.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ pub enum ErrorKind {
125125
/// Unlike `InvalidInput`, this typically means that the operation
126126
/// parameters were valid, however the error was caused by malformed
127127
/// input data.
128+
///
129+
/// For example, a function that reads a file into a string will error with
130+
/// `InvalidData` if the file's contents are not valid UTF-8.
128131
#[stable(feature = "io_invalid_data", since = "1.2.0")]
129132
InvalidData,
130133
/// The I/O operation's timeout expired, causing it to be canceled.

0 commit comments

Comments
 (0)