We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_unwrap_or_default
1 parent fb1ef4f commit 0958505Copy full SHA for 0958505
src/libcoretest/result.rs
@@ -8,6 +8,8 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
+#![feature(result_unwrap_or_default)]
12
+
13
fn op1() -> Result<isize, &'static str> { Ok(666) }
14
fn op2() -> Result<isize, &'static str> { Err("sadface") }
15
0 commit comments