about summary refs log tree commit diff
path: root/src/libstd/net_tcp.rs
diff options
context:
space:
mode:
authorMichael Neumann <mneumann@ntecs.de>2013-01-25 05:26:51 -0600
committerBrian Anderson <banderson@mozilla.com>2013-01-28 14:40:11 -0800
commitd38939c7e8ca67a3991949cb17bf052b840d1aa4 (patch)
tree504346c86e0aac8e6584d618bbd23e3d5eba141d /src/libstd/net_tcp.rs
parent1ecdf3abc1cf08e76dbe309e1ee9255f899427f7 (diff)
downloadrust-d38939c7e8ca67a3991949cb17bf052b840d1aa4.tar.gz
rust-d38939c7e8ca67a3991949cb17bf052b840d1aa4.zip
Slightly optimize read_line()
No need to allocate an additional vector. Instead directly push into the
string.
Diffstat (limited to 'src/libstd/net_tcp.rs')
0 files changed, 0 insertions, 0 deletions