You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A quick peek at the implementation of From<CString> for Rc<CStr shows that it uses an Rc as the backing allocation, not an Arc. My guess is that this documentation was copy-pasted from the implementation on Arc and never edited.
The correct revision (if I understand the implementation correctly) would be to substitute Arc for Rc in the documentation.
The text was updated successfully, but these errors were encountered:
claytonwramsey
added
the
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
label
Jun 28, 2023
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Location
The documentation of
impl From<CString> for Rc<CStr>
writes the following:Summary
A quick peek at the implementation of
From<CString> for Rc<CStr
shows that it uses anRc
as the backing allocation, not anArc
. My guess is that this documentation was copy-pasted from the implementation onArc
and never edited.The correct revision (if I understand the implementation correctly) would be to substitute
Arc
forRc
in the documentation.The text was updated successfully, but these errors were encountered: