Rollup merge of #106184 - albertlarsan68:docs-106154, r=Nilstrieb
Fix `core::any` docs Thanks to ``@pbevin`` in #106154 Closes #106154 ``@rustbot`` labels +A-docs
This commit is contained in:
commit
45d6f02ea5
@ -148,7 +148,7 @@
|
|||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! In this example, if the concrete type of `obj` in `use_my_trait` is `SomeConcreteType`, then
|
//! 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")]
|
#![stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user