Skip to content

Commit 552677e

Browse files
committed
std: time.rs should pass all args by "&&" to rustrt.
1 parent 851fde8 commit 552677e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ native mod rustrt {
2222

2323
// FIXME: The i64 values can be passed by-val when #2064 is fixed.
2424
fn rust_gmtime(&&sec: i64, &&nsec: i32, &&result: tm);
25-
fn rust_localtime(&&sec: i64, &&nsec: i32, &result: tm);
25+
fn rust_localtime(&&sec: i64, &&nsec: i32, &&result: tm);
2626
fn rust_timegm(&&tm: tm, &sec: i64);
2727
fn rust_mktime(&&tm: tm, &sec: i64);
2828
}

0 commit comments

Comments
 (0)