]> git.lizzy.rs Git - rust.git/commit
Rename IoSlice(Mut)::advance to advance_slice
authorThomas de Zeeuw <thomasdezeeuw@gmail.com>
Sat, 29 May 2021 08:08:00 +0000 (10:08 +0200)
committerThomas de Zeeuw <thomasdezeeuw@gmail.com>
Sat, 29 May 2021 08:08:00 +0000 (10:08 +0200)
commit3803c090f85b3601414e7b6ed4467b38e1de8bf4
tree8e3dc94e00c0425a8ba807f1c72f833a642489e9
parent4664725ae03ef9becae413a1e56b5010f88fdc46
Rename IoSlice(Mut)::advance to advance_slice

To make way for a new IoSlice(Mut)::advance function that advances a
single slice.

Also changes the signature to accept a `&mut &mut [IoSlice]`, not
returning anything. This will better match the future IoSlice::advance
function.
library/std/src/io/mod.rs
library/std/src/io/tests.rs