diff options
| author | fee1-dead <ent3rm4n@gmail.com> | 2022-12-28 15:51:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-28 15:51:42 +0800 |
| commit | 45d6f02ea57177abdf57521e879e07ced28e1245 (patch) | |
| tree | f150a2703fabc1b5c515b1c924c06f525c8d5cb7 | |
| parent | 8b3d0c4cf9f8a8b77805ee5b9bcd18d02c600f22 (diff) | |
| parent | 6d332c4a7148854c8efb405291fc0bf13d5e7b33 (diff) | |
| download | rust-45d6f02ea57177abdf57521e879e07ced28e1245.tar.gz rust-45d6f02ea57177abdf57521e879e07ced28e1245.zip | |
Rollup merge of #106184 - albertlarsan68:docs-106154, r=Nilstrieb
Fix `core::any` docs Thanks to ``@pbevin`` in #106154 Closes #106154 ``@rustbot`` labels +A-docs
| -rw-r--r-- | library/core/src/any.rs | 2 |
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")] |
