Skip to content

Commit afeaf7d

Browse files
committed
libcore: fix a typo
1 parent c0f3579 commit afeaf7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pure fn get_ref<T, U>(res: &a/Result<T, U>) -> &a/T {
5353
pure fn get_err<T, U: copy>(res: Result<T, U>) -> U {
5454
match res {
5555
Err(u) => u,
56-
Ok(_) => fail ~"get_error called on ok result"
56+
Ok(_) => fail ~"get_err called on ok result"
5757
}
5858
}
5959

0 commit comments

Comments
 (0)