-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
The rust book page on mutability is confusingly worded #33924
Copy link
Copy link
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.Call for participation: Help is requested to fix this issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In the rust book section on mutability the text is written in a very confusing way. I'm particularly thinking of the bits of text like:
Perhaps this can be reworded as:
Or if the phrase "exterior immutability" isn't acceptable, then a more general rewording like:
Or:
As it's currently worded it sounds roughly like saying "when something is immutable it is mutable", since saying that something has "exterior mutability" sounds like saying it is mutable on the exterior.