Skip to content

Commit

Permalink
Rollup merge of rust-lang#106184 - albertlarsan68:docs-106154, r=Nils…
Browse files Browse the repository at this point in the history
…trieb

Fix `core::any` docs

Thanks to ``@pbevin`` in rust-lang#106154

Closes rust-lang#106154

``@rustbot`` labels +A-docs
  • Loading branch information
fee1-dead authored Dec 28, 2022
2 parents 8b3d0c4 + 6d332c4 commit 45d6f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

Expand Down

0 comments on commit 45d6f02

Please sign in to comment.