Skip to content

Commit 8befdd0

Browse files
committed
stdlib: Fix type in docs for result::chan
1 parent ce1be4d commit 8befdd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This function can be used to compose the results of two functions.
9898
9999
Example:
100100
101-
> let res = chain(read_file(file), { |buf]
101+
> let res = chain(read_file(file), { |buf|
102102
> ok(parse_buf(buf))
103103
> })
104104

0 commit comments

Comments
 (0)