Closed GeneFerneau closed 3 years ago
Adds From<std::io::Error> for core2::io::Error and From<std::io::ErrorKind> for core2::io::ErrorKind trait impls.
From<std::io::Error> for core2::io::Error
From<std::io::ErrorKind> for core2::io::ErrorKind
Uses those impls in the doctests when std feature is enabled.
std
Minor name change fixes in core2/src/io/buffered.rs for bare_io -> core2::io.
core2/src/io/buffered.rs
bare_io -> core2::io
Other doctests in core2/src/io/traits.rs and elsewhere require implementation of core2::io traits for std types (not included in this PR).
core2/src/io/traits.rs
core2::io
Manually rebased and merged into main with the necessary bugfix. Thanks!
Adds
From<std::io::Error> for core2::io::Error
andFrom<std::io::ErrorKind> for core2::io::ErrorKind
trait impls.Uses those impls in the doctests when
std
feature is enabled.Minor name change fixes in
core2/src/io/buffered.rs
forbare_io -> core2::io
.Other doctests in
core2/src/io/traits.rs
and elsewhere require implementation ofcore2::io
traits forstd
types (not included in this PR).