rust/doc/tutorial
Haitao Li f4eb25e0d0 tutorial: Fix type mismatch in example FFI code
Compile error:
time.rs:13:23: 13:43 error: mismatched types: expected
*R[tv_sec=mMltv_usec=mMl] but found *R[tv_sec=Mltv_usec=Ml] (record
elements differ in mutability)
time.rs:13     libc::gettimeofday(std::ptr::addr_of(x),
std::ptr::null());
                                  ^~~~~~~~~~~~~~~~~~~~
error: aborting due to previous errors
rust: upcall fail 'explicit failure', ../src/comp/driver/session.rs:70
rust: domain main @0x9dfd178 root task failed
2011-11-17 22:50:08 +08:00
..
lib Expand the tutorial section on functions 2011-11-02 13:49:37 +01:00
web Fill in the foreign-function part of the tutorial 2011-11-01 17:35:18 +01:00
args.md Tie up some ends in the tutorial 2011-11-01 15:41:14 +01:00
build.js Fix file timestamp extraction in tutorial builder 2011-11-01 14:47:13 +01:00
control.md Tie up some ends in the tutorial 2011-11-01 15:41:14 +01:00
data.md Write briefly about syntax extension in the syntax section 2011-11-02 13:27:29 +01:00
ffi.md tutorial: Fix type mismatch in example FFI code 2011-11-17 22:50:08 +08:00
func.md Expand the tutorial section on functions 2011-11-02 13:49:37 +01:00
generic.md Tie up some ends in the tutorial 2011-11-01 15:41:14 +01:00
index.md Flesh out the module section of the tutorial 2011-11-01 14:38:55 +01:00
intro.md Fix small grammar mistake in tutorial 2011-11-16 08:51:59 +01:00
mod.md Fix some typos in tutorial 2011-11-01 22:11:55 +01:00
order Write briefly about syntax extension in the syntax section 2011-11-02 13:27:29 +01:00
setup.md Tie up some ends in the tutorial 2011-11-01 15:41:14 +01:00
syntax.md tutorial: Close unmatched quote in anchor tag 2011-11-16 15:02:00 -08:00
task.md Flesh out the module section of the tutorial 2011-11-01 14:38:55 +01:00
test.md Fill in the tutorial section on testing 2011-11-04 12:23:35 +01:00