diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 11:47:00 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-02-14 14:44:12 -0800 |
| commit | 9143688197ee1ba14e224badbe1402b36111e592 (patch) | |
| tree | 44b298c748b863da2c2c855733f1b2d58075fa9b /src/libstd/net_ip.rs | |
| parent | 8ec6f43d6c58588576743f5adb28b78dbc3bb057 (diff) | |
| download | rust-9143688197ee1ba14e224badbe1402b36111e592.tar.gz rust-9143688197ee1ba14e224badbe1402b36111e592.zip | |
librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflipping
Diffstat (limited to 'src/libstd/net_ip.rs')
| -rw-r--r-- | src/libstd/net_ip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/net_ip.rs b/src/libstd/net_ip.rs index 2f423f4c8d4..88bacf53e63 100644 --- a/src/libstd/net_ip.rs +++ b/src/libstd/net_ip.rs @@ -193,7 +193,7 @@ pub mod v4 { unsafe fn as_u32() -> u32; } - impl Ipv4Rep: AsUnsafeU32 { + impl AsUnsafeU32 for Ipv4Rep { // this is pretty dastardly, i know unsafe fn as_u32() -> u32 { *((ptr::addr_of(&self)) as *u32) |
