Skip to content

Commit 0cf7bb0

Browse files
committed
Update Copy/Clone documentation WRT arrays
1 parent 7d4fadd commit 0cf7bb0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

core/src/clone.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
///
9494
/// * Function item types (i.e., the distinct types defined for each function)
9595
/// * Function pointer types (e.g., `fn() -> i32`)
96-
/// * Array types, for all sizes, if the item type also implements `Clone` (e.g., `[i32; 123456]`)
9796
/// * Tuple types, if each component also implements `Clone` (e.g., `()`, `(i32, bool)`)
9897
/// * Closure types, if they capture no value from the environment
9998
/// or if all such captured values implement `Clone` themselves.

core/src/marker.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ pub trait StructuralEq {
359359
///
360360
/// * Function item types (i.e., the distinct types defined for each function)
361361
/// * Function pointer types (e.g., `fn() -> i32`)
362-
/// * Array types, for all sizes, if the item type also implements `Copy` (e.g., `[i32; 123456]`)
363362
/// * Tuple types, if each component also implements `Copy` (e.g., `()`, `(i32, bool)`)
364363
/// * Closure types, if they capture no value from the environment
365364
/// or if all such captured values implement `Copy` themselves.

0 commit comments

Comments
 (0)