diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-25 15:56:55 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-10-25 15:56:55 +0200 |
| commit | cfdf193c4671a11e40743748d9cded9603386346 (patch) | |
| tree | dc7b1013eab9d6be0399816279d10b92f181abc2 /src/comp/syntax/ext | |
| parent | 58c82a8da2b16878766b5dc630f7499166cceb21 (diff) | |
Update our code to new type parameter kind syntax
Closes #1067
Diffstat (limited to 'src/comp/syntax/ext')
| -rw-r--r-- | src/comp/syntax/ext/simplext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/ext/simplext.rs b/src/comp/syntax/ext/simplext.rs index d766ff11579..3adcfbccf4e 100644 --- a/src/comp/syntax/ext/simplext.rs +++ b/src/comp/syntax/ext/simplext.rs @@ -104,7 +104,7 @@ fn elts_to_ell(cx: ext_ctxt, elts: [@expr]) -> } } -fn option_flatten_map<T, @U>(f: fn@(T) -> option::t<U>, v: [T]) -> +fn option_flatten_map<T, U>(f: fn@(T) -> option::t<U>, v: [T]) -> option::t<[U]> { let res = []; for elem: T in v { |
