diff --git a/src/libcore/result.rs b/src/libcore/result.rs index 7fd845edc3f8..d87c1020dcc2 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -968,6 +968,9 @@ impl> FromIterator> for Result { #[inline] #[unstable(feature = "result_fold", reason = "unclear if this function should exist")] +#[deprecated(since = "1.2.0", + reason = "has not seen enough usage to justify its position in \ + the standard library")] pub fn fold