Skip to content

Commit 6d332c4

Browse files
Fix core::any mod-level docs
1 parent a1fc711 commit 6d332c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
//! ```
149149
//!
150150
//! In this example, if the concrete type of `obj` in `use_my_trait` is `SomeConcreteType`, then
151-
//! the `get_context_ref` call will return a reference to `obj.some_string` with type `&String`.
151+
//! the `get_context_by_ref` call will return a reference to `obj.some_string` with type `&String`.
152152
153153
#![stable(feature = "rust1", since = "1.0.0")]
154154

0 commit comments

Comments
 (0)