diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2013-05-19 21:32:32 -0700 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2013-05-19 21:32:32 -0700 |
| commit | d3f70b141a43ebe02dcb3d62ffe2ae42da561aad (patch) | |
| tree | 85005a6083887b6e96a6a2a739512aa7b5df158d /src/libcore | |
| parent | 9283dfe0b4dfbad176821ed93df6d519ad58423a (diff) | |
| download | rust-d3f70b141a43ebe02dcb3d62ffe2ae42da561aad.tar.gz rust-d3f70b141a43ebe02dcb3d62ffe2ae42da561aad.zip | |
Fix many warnings.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/rt/uv/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/rt/uv/mod.rs b/src/libcore/rt/uv/mod.rs index ad593058303..425c258b8fd 100644 --- a/src/libcore/rt/uv/mod.rs +++ b/src/libcore/rt/uv/mod.rs @@ -273,8 +273,8 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError { ECONNREFUSED => ConnectionRefused, ECONNRESET => ConnectionReset, EPIPE => BrokenPipe, - e => { - rtdebug!("e %u", e as uint); + _ => { + rtdebug!("uverr.code %u", uverr.code as uint); // XXX: Need to map remaining uv error types OtherIoError } |
