File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -164,14 +164,6 @@ pub enum ErrorKind {
164
164
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
165
165
Interrupted ,
166
166
167
- /// An error returned when an operation could not be completed because an
168
- /// "end of file" was reached prematurely.
169
- ///
170
- /// This typically means that an operation could only succeed if it read a
171
- /// particular number of bytes but only a smaller number of bytes could be
172
- /// read.
173
- #[ stable( feature = "read_exact" , since = "1.6.0" ) ]
174
- UnexpectedEof ,
175
167
/// A custom error that does not fall under any other I/O error kind.
176
168
///
177
169
/// This can be used to construct your own [`Error`]s that do not match any
@@ -185,6 +177,15 @@ pub enum ErrorKind {
185
177
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
186
178
Other ,
187
179
180
+ /// An error returned when an operation could not be completed because an
181
+ /// "end of file" was reached prematurely.
182
+ ///
183
+ /// This typically means that an operation could only succeed if it read a
184
+ /// particular number of bytes but only a smaller number of bytes could be
185
+ /// read.
186
+ #[ stable( feature = "read_exact" , since = "1.6.0" ) ]
187
+ UnexpectedEof ,
188
+
188
189
/// This operation is unsupported on this platform.
189
190
///
190
191
/// This means that the operation can never succeed.
You can’t perform that action at this time.
0 commit comments