diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-08-30 12:54:50 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2012-08-31 16:21:47 -0700 |
| commit | 4128cc4cb44acb415be3cfdfa008fd6c95ceee74 (patch) | |
| tree | 321c8c7ed1c28247377bf4122365c047d69f891f /src/libstd/net_tcp.rs | |
| parent | 638db28c472c1edadc3c37f900df28f14cca7665 (diff) | |
| download | rust-4128cc4cb44acb415be3cfdfa008fd6c95ceee74.tar.gz rust-4128cc4cb44acb415be3cfdfa008fd6c95ceee74.zip | |
Make utility funs in core::int, core::uint, etc. not by-reference
Closes #3302
Diffstat (limited to 'src/libstd/net_tcp.rs')
| -rw-r--r-- | src/libstd/net_tcp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs index fa799ee3e31..255ce96e986 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -772,7 +772,7 @@ impl TcpSocketBuf: io::Reader { } } - let count = uint::min(&len, &self.data.buf.len()); + let count = uint::min(len, self.data.buf.len()); let mut data = ~[]; self.data.buf <-> data; |
