Skip to content

Commit 57fccf9

Browse files
committed
fix std::primitive doc: homogenous -> homogeneous
1 parent 3431fb7 commit 57fccf9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

library/core/src/primitive_docs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ mod prim_pointer {}
612612
/// statically generated up to size 32.
613613
///
614614
/// Arrays of sizes from 1 to 12 (inclusive) implement [`From<Tuple>`], where `Tuple`
615-
/// is a homogenous [prim@tuple] of appropriate length.
615+
/// is a homogeneous [prim@tuple] of appropriate length.
616616
///
617617
/// Arrays coerce to [slices (`[T]`)][slice], so a slice method may be called on
618618
/// an array. Indeed, this provides most of the API for working with arrays.
@@ -676,7 +676,7 @@ mod prim_pointer {}
676676
/// move_away(roa);
677677
/// ```
678678
///
679-
/// Arrays can be created from homogenous tuples of appropriate length:
679+
/// Arrays can be created from homogeneous tuples of appropriate length:
680680
///
681681
/// ```
682682
/// let tuple: (u32, u32, u32) = (1, 2, 3);
@@ -1065,7 +1065,7 @@ mod prim_str {}
10651065
/// assert_eq!(y, 5);
10661066
/// ```
10671067
///
1068-
/// Homogenous tuples can be created from arrays of appropriate length:
1068+
/// Homogeneous tuples can be created from arrays of appropriate length:
10691069
///
10701070
/// ```
10711071
/// let array: [u32; 3] = [1, 2, 3];

library/std/src/primitive_docs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ mod prim_pointer {}
612612
/// statically generated up to size 32.
613613
///
614614
/// Arrays of sizes from 1 to 12 (inclusive) implement [`From<Tuple>`], where `Tuple`
615-
/// is a homogenous [prim@tuple] of appropriate length.
615+
/// is a homogeneous [prim@tuple] of appropriate length.
616616
///
617617
/// Arrays coerce to [slices (`[T]`)][slice], so a slice method may be called on
618618
/// an array. Indeed, this provides most of the API for working with arrays.
@@ -676,7 +676,7 @@ mod prim_pointer {}
676676
/// move_away(roa);
677677
/// ```
678678
///
679-
/// Arrays can be created from homogenous tuples of appropriate length:
679+
/// Arrays can be created from homogeneous tuples of appropriate length:
680680
///
681681
/// ```
682682
/// let tuple: (u32, u32, u32) = (1, 2, 3);
@@ -1065,7 +1065,7 @@ mod prim_str {}
10651065
/// assert_eq!(y, 5);
10661066
/// ```
10671067
///
1068-
/// Homogenous tuples can be created from arrays of appropriate length:
1068+
/// Homogeneous tuples can be created from arrays of appropriate length:
10691069
///
10701070
/// ```
10711071
/// let array: [u32; 3] = [1, 2, 3];

0 commit comments

Comments
 (0)