diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-29 16:11:06 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-29 16:23:36 -0700 |
| commit | c0c8d3aa8fdd054372f91c997913b33146bdf9bd (patch) | |
| tree | 92ce54582b167358b3f09a0bc3861c643201c1aa /src/libstd/net_tcp.rs | |
| parent | ee2ce036ccd53d8c19689d86cf8b3bd5cf37f40f (diff) | |
| download | rust-c0c8d3aa8fdd054372f91c997913b33146bdf9bd.tar.gz rust-c0c8d3aa8fdd054372f91c997913b33146bdf9bd.zip | |
core: Demode int/uint mods
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 cb0fddcfe61..1cc5fa680d2 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -772,7 +772,7 @@ impl tcp_socket_buf: 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; |
