diff options
| author | Michael Neumann <mneumann@ntecs.de> | 2013-01-25 05:26:51 -0600 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-01-28 14:40:11 -0800 |
| commit | d38939c7e8ca67a3991949cb17bf052b840d1aa4 (patch) | |
| tree | 504346c86e0aac8e6584d618bbd23e3d5eba141d /src/libstd/net_tcp.rs | |
| parent | 1ecdf3abc1cf08e76dbe309e1ee9255f899427f7 (diff) | |
| download | rust-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
