diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-10-29 20:16:44 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-10-29 20:16:44 -0700 |
| commit | 8befdd08a37203ed802e7492ef1fe5053b9f9cf0 (patch) | |
| tree | 3b464b8b5cb0f7307b4ff30aa1fa2cf4cad446c3 | |
| parent | ce1be4d9a9404f1eb75d0cacc937dbdbdf00d371 (diff) | |
stdlib: Fix type in docs for result::chan
| -rw-r--r-- | src/lib/result.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/result.rs b/src/lib/result.rs index 9586a4becfd..cb703385a40 100644 --- a/src/lib/result.rs +++ b/src/lib/result.rs @@ -98,7 +98,7 @@ This function can be used to compose the results of two functions. Example: -> let res = chain(read_file(file), { |buf] +> let res = chain(read_file(file), { |buf| > ok(parse_buf(buf)) > }) |
