You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::io::prelude currently re-exports std::io::Seek as NewSeek. This should be changed before 1.0, as the renaming only makes sense in light of the old_io migration, and old_io is now deprecated. std::io::prelude is already declared stable, but I think that was a mistake and we should just go ahead and modify it.
This is related to #23377 (std::prelude::v1 still re-exports std::old_io::Seek).
This commit removes the reexports of `old_io` traits as well as `old_path` types
and traits from the prelude. This functionality is now all deprecated and needs
to be removed to make way for other functionality like `Seek` in the `std::io`
module (currently reexported as `NewSeek` in the io prelude).
Closesrust-lang#23377Closesrust-lang#23378
This commit removes the reexports of `old_io` traits as well as `old_path` types
and traits from the prelude. This functionality is now all deprecated and needs
to be removed to make way for other functionality like `Seek` in the `std::io`
module (currently reexported as `NewSeek` in the io prelude).
Closes#23377Closes#23378
std::io::prelude
currently re-exportsstd::io::Seek
asNewSeek
. This should be changed before 1.0, as the renaming only makes sense in light of theold_io
migration, andold_io
is now deprecated.std::io::prelude
is already declared stable, but I think that was a mistake and we should just go ahead and modify it.This is related to #23377 (
std::prelude::v1
still re-exportsstd::old_io::Seek
)./cc @alexcrichton
The text was updated successfully, but these errors were encountered: