Skip to content

Clone derive documentation is inconsistent #57123

Closed
@doitian

Description

@doitian

/// An example is an array holding more than 32 elements of a type that is `Clone`; the standard

the standard library only implements Clone up until arrays of size 32

/// * Array types, for all sizes, if the item type also implements `Clone` (e.g., `[i32; 123456]`)

Array types, for all sizes, if the item type also implements Clone (e.g., [i32; 123456])

Playground example:

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=3341d51ba6dc6be3f1652fee12dd4835

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.P-mediumMedium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions