-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
improve documentation of RefCell::get_mut #40203
Copy link
Copy link
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priority
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsP-mediumMedium priorityMedium priority
Type
Fields
Give feedbackNo fields configured for issues without a type.
From IRC:
The documentation for
get_mutis not terrible:but I think it could be more explicit that
get_mutis for special circumstances / usually not what you want. The nameget_mutmay tend to confuse newbies since it looks 'basic' and very similar toborrow_mut.