Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box::from(slice): Clarify that contents are copied #99570

Merged
merged 1 commit into from
Aug 28, 2022

Commits on Jul 21, 2022

  1. Box::from(slice): Clarify that contents are copied

    A colleague mentioned that they interpreted the old text
    as saying that only the pointer and the length are copied.
    Add a clause so it is more clear that the pointed to contents
    are also copied.
    XrXr committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    321419e View commit details
    Browse the repository at this point in the history