about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/result.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index 7fd845edc3f..d87c1020dcc 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -968,6 +968,9 @@ impl<A, E, V: FromIterator<A>> FromIterator<Result<A, E>> for Result<V, E> {
 #[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<T,
             V,
             E,