File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub(crate) fn into_error(e: io::Error) -> Error {
56
56
57
57
impl From < Error > for std:: io:: Error {
58
58
fn from ( e : Error ) -> Self {
59
- io:: Error :: new ( io :: ErrorKind :: Other , e)
59
+ io:: Error :: other ( e)
60
60
}
61
61
}
62
62
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub(crate) fn into_error(e: io::Error) -> Error {
41
41
42
42
impl From < Error > for std:: io:: Error {
43
43
fn from ( e : Error ) -> Self {
44
- io:: Error :: new ( io :: ErrorKind :: Other , e)
44
+ io:: Error :: other ( e)
45
45
}
46
46
}
47
47
Original file line number Diff line number Diff line change 3
3
// This source code is licensed under the MIT license found in the
4
4
// LICENSE file in the "hack" directory of this source tree.
5
5
#![ feature( box_patterns) ]
6
- #![ feature( extract_if) ]
7
6
8
7
#[ macro_use]
9
8
extern crate rust_to_ocaml_attr;
You can’t perform that action at this time.
0 commit comments