From 70d3633c0b66c247b97f721653d33264ddfc680f Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 29 Aug 2012 18:29:21 -0700 Subject: [PATCH] libstd: Fix some build breakage --- src/libstd/time.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstd/time.rs b/src/libstd/time.rs index a0ed1599cdfb..c0466fb99f24 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -36,8 +36,8 @@ extern mod rustrt { /// A record specifying a time value in seconds and nanoseconds. type Timespec = {sec: i64, nsec: i32}; -impl timespec : Eq { - pure fn eq(&&other: timespec) -> bool { +impl Timespec : Eq { + pure fn eq(&&other: Timespec) -> bool { self.sec == other.sec && self.nsec == other.nsec } }