Name types after their modules instead of 't'

This commit is contained in:
Brian Anderson
2012-03-13 14:39:28 -07:00
parent a38ccf1254
commit b968c8e6cd
29 changed files with 190 additions and 189 deletions

View File

@@ -406,7 +406,7 @@ fn spawn_sched(mode: sched_mode, +f: fn~()) {
run(builder, f);
}
fn try<T:send>(+f: fn~() -> T) -> result::t<T,()> {
fn try<T:send>(+f: fn~() -> T) -> result<T,()> {
#[doc = "
Execute a function in another task and return either the return value
of the function or result::err.