-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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 toolsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.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.
Description
The documentation of std::ptr::read
and many other methods still refers to zero_memory
and copy_memory
which have since been removed or renamed.
src/libcore/ptr.rs
231: /// `zero_memory`, or `copy_memory`). Note that `*src = foo` counts as a use
267: /// `zero_memory`, or `copy_memory`). Note that `*src = foo` counts as a use
400: /// `zero_memory`, or `copy_memory`). Note that `*src = foo` counts as a use
874: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
928: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
964: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
1572: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
1626: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
1662: /// `zero_memory`, or `copy_memory`). Note that `*self = foo` counts as a use
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 toolsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.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.