• A
    std: Rename io to old_io · f72b1645
    Alex Crichton 提交于
    In preparation for the I/O rejuvination of the standard library, this commit
    renames the current `io` module to `old_io` in order to make room for the new
    I/O modules. It is expected that the I/O RFCs will land incrementally over time
    instead of all at once, and this provides a fresh clean path for new modules to
    enter into as well as guaranteeing that all old infrastructure will remain in
    place for some time.
    
    As each `old_io` module is replaced it will be deprecated in-place for new
    structures in `std::{io, fs, net}` (as appropriate).
    
    This commit does *not* leave a reexport of `old_io as io` as the deprecation
    lint does not currently warn on this form of use. This is quite a large breaking
    change for all imports in existing code, but all functionality is retained
    precisely as-is and path statements simply need to be renamed from `io` to
    `old_io`.
    
    [breaking-change]
    f72b1645
mem.rs 21.1 KB