Closed
Description
The documentation for the to_owned method (https://doc.rust-lang.org/std/borrow/trait.ToOwned.html#examples) claims that &[1,2].to_owned() returns a Vec, while my compiler tells me that it is a [{integer}; 2] see playground.
Metadata
Metadata
Assignees
Labels
No labels