]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/any.rs
Auto merge of #106302 - compiler-errors:terr-coerce-w-infer, r=estebank
[rust.git] / library / core / src / any.rs
index 1a379ecc11c01d7ae8cdfde75d8a591425eaa2ca..9ca4947ed8f8bb7978870a8a6c01880f7b1d8bdc 100644 (file)
 //! ```
 //!
 //! 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")]