]> git.lizzy.rs Git - rust.git/commit
Defactored Bytes::read
authorNathan West <Lucretiel@users.noreply.github.com>
Fri, 30 Nov 2018 01:36:32 +0000 (20:36 -0500)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 01:36:32 +0000 (20:36 -0500)
commitf59d645a9b1a4902ae52602db6270be75f7aa512
tree2031e0effa15747957246708eda353721db488e8
parent3e90a12a8a95933604a8b609197fce61bb24a38c
Defactored Bytes::read

Removed unneeded refactoring of read_one_byte, which removed the unneeded dynamic dispatch (`dyn Read`) used by that function.
src/libstd/io/mod.rs