about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJane Lusby <jlusby@yaah.dev>2022-06-13 14:15:05 -0700
committerJane Lusby <jlusby@yaah.dev>2022-06-13 14:15:05 -0700
commitfb2d2e53fde0c74029aad4c10750fdb07a973263 (patch)
tree08329ef33f85127c0726c994085ca03b902fdba2
parent03999c23944e5d06cab3ddc6919c5f98b494aad0 (diff)
downloadrust-fb2d2e53fde0c74029aad4c10750fdb07a973263.tar.gz
rust-fb2d2e53fde0c74029aad4c10750fdb07a973263.zip
remove outdated references
-rw-r--r--library/std/src/error.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/error.rs b/library/std/src/error.rs
index 3d7d8191770..e5cc008096d 100644
--- a/library/std/src/error.rs
+++ b/library/std/src/error.rs
@@ -298,14 +298,13 @@ pub trait Error: Debug + Display {
 
     /// Provides type based access to context intended for error reports.
     ///
-    /// Used in conjunction with [`context`] and [`context_ref`] to extract
+    /// Used in conjunction with [`provide_value`] and [`provide_ref`] to extract
     /// references to member variables from `dyn Error` trait objects.
     ///
     /// # Example
     ///
     /// ```rust
     /// #![feature(provide_any)]
-    /// #![feature(error_in_core)]
     /// use core::fmt;
     /// use core::any::Demand;
     ///