We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f3579 commit afeaf7dCopy full SHA for afeaf7d
src/libcore/result.rs
@@ -53,7 +53,7 @@ pure fn get_ref<T, U>(res: &a/Result<T, U>) -> &a/T {
53
pure fn get_err<T, U: copy>(res: Result<T, U>) -> U {
54
match res {
55
Err(u) => u,
56
- Ok(_) => fail ~"get_error called on ok result"
+ Ok(_) => fail ~"get_err called on ok result"
57
}
58
59
0 commit comments