We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548e14b commit fb65ca1Copy full SHA for fb65ca1
library/core/src/intrinsics.rs
@@ -1356,7 +1356,7 @@ extern "rust-intrinsic" {
1356
/// let v_clone = v_orig.clone();
1357
///
1358
/// // This is the suggested, safe way.
1359
- /// // It does copy the entire vector, though, into a new array.
+ /// // It may copy the entire vector into a new one though, but also may not.
1360
/// let v_collected = v_clone.into_iter()
1361
/// .map(Some)
1362
/// .collect::<Vec<Option<&i32>>>();
0 commit comments