File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
branches/try/src/libstd/io Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 4c8d75fd9b4e0abf1107647a48e3578907e2e00e
4
+ refs/heads/try: b1d07bbe701641e3841c81da808159ef1710f70e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ pub enum ErrorKind {
125
125
/// Unlike `InvalidInput`, this typically means that the operation
126
126
/// parameters were valid, however the error was caused by malformed
127
127
/// 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.
128
131
#[ stable( feature = "io_invalid_data" , since = "1.2.0" ) ]
129
132
InvalidData ,
130
133
/// The I/O operation's timeout expired, causing it to be canceled.
You can’t perform that action at this time.
0 commit comments