about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2022-12-27 16:16:22 +0100
committerAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2022-12-27 21:42:42 +0100
commit6d332c4a7148854c8efb405291fc0bf13d5e7b33 (patch)
tree3524c86459cb744a5557e71e78532a204cc7eebf
parenta1fc71196a5554eafc5dd9a1b4e0c159717141e0 (diff)
downloadrust-6d332c4a7148854c8efb405291fc0bf13d5e7b33.tar.gz
rust-6d332c4a7148854c8efb405291fc0bf13d5e7b33.zip
Fix `core::any` mod-level docs
-rw-r--r--library/core/src/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/any.rs b/library/core/src/any.rs
index 1a379ecc11c..9ca4947ed8f 100644
--- a/library/core/src/any.rs
+++ b/library/core/src/any.rs
@@ -148,7 +148,7 @@
 //! ```
 //!
 //! In this example, if the concrete type of `obj` in `use_my_trait` is `SomeConcreteType`, then
-//! the `get_context_ref` call will return a reference to `obj.some_string` with type `&String`.
+//! the `get_context_by_ref` call will return a reference to `obj.some_string` with type `&String`.
 
 #![stable(feature = "rust1", since = "1.0.0")]