• A
    std: Rename Writer::write to Writer::write_all · 5d836cdf
    Alex Crichton 提交于
    In preparation for upcoming changes to the `Writer` trait (soon to be called
    `Write`) this commit renames the current `write` method to `write_all` to match
    the semantics of the upcoming `write_all` method. The `write` method will be
    repurposed to return a `usize` indicating how much data was written which
    differs from the current `write` semantics. In order to head off as much
    unintended breakage as possible, the method is being deprecated now in favor of
    a new name.
    
    [breaking-change]
    5d836cdf
pipe.rs 26.4 KB