mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
stdlib: Fix type in docs for result::chan
This commit is contained in:
parent
ce1be4d9a9
commit
8befdd08a3
@ -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))
|
||||
> })
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user