libstd: Fix some build breakage
This commit is contained in:
parent
59bdd8bde6
commit
70d3633c0b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue