Skip to content

Commit ca60e4c

Browse files
committed
---
yaml --- r: 6349 b: refs/heads/master c: f4eb25e h: refs/heads/master i: 6347: d6a6121 v: v3
1 parent 4f07b8d commit ca60e4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 388eed383f05dbc322d5808faf7d52091d0c0fca
2+
refs/heads/master: f4eb25e0d032495fef50c445b211f2c2ff20eb9c

trunk/doc/tutorial/ffi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ microsecond-resolution timer.
183183
fn gettimeofday(tv: *timeval, tz: *()) -> i32;
184184
}
185185
fn unix_time_in_microseconds() -> u64 unsafe {
186-
let x = {tv_sec: 0u32, tv_usec: 0u32};
186+
let x = {mutable tv_sec: 0u32, mutable tv_usec: 0u32};
187187
libc::gettimeofday(std::ptr::addr_of(x), std::ptr::null());
188188
ret (x.tv_sec as u64) * 1000_000_u64 + (x.tv_usec as u64);
189189
}

0 commit comments

Comments
 (0)