Closed
Description
This type used to be experimental and internal (when it was called Shared
), now that it is finally being stablized (see #27730, #47631), people are complaining that the current document texts are not easy to understand.
Current text *mut T but non-zero and covariant.
talks about the covariance, which is not mentioned elsewhere in the libstd
docs and the Rust books. (I know it's mentioned in Nomicon but beginners seldom have read it.)
I suggest the docs be either supplemented with concrete explanations or reworked upon.
Metadata
Metadata
Assignees
Labels
Area: Foreign function interface (FFI)Area: Documentation for any part of the project, including the compiler, standard library, and toolsArea: raw pointers, MaybeUninit, NonNullCategory: An issue proposing an enhancement or a PR with one.Call for participation: Hard difficulty. Experience needed to fix: A lot.Medium priorityRelevant to the library API team, which will review and decide on the PR/issue.