Skip to content

Commit b012a13

Browse files
committed
libcore/Result - Change expect feature flag to result_expect
1 parent dddb10c commit b012a13

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
@@ -741,7 +741,7 @@ impl<T, E: fmt::Debug> Result<T, E> {
741741
/// x.expect("Testing expect"); // panics with `Testing expect: emergency failure`
742742
/// ```
743743
#[inline]
744-
#[unstable(feature = "core", reason = "newly introduced")]
744+
#[unstable(feature = "result_expece", reason = "newly introduced")]
745745
pub fn expect(self, msg: &str) -> T {
746746
match self {
747747
Ok(t) => t,

0 commit comments

Comments
 (0)