Skip to content

Commit 43dec0e

Browse files
janriemerJoshua Nelson
andauthored
rephrase: struct -> type
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent a876b3d commit 43dec0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/marker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ pub trait StructuralEq {
315315
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
316316
/// ```
317317
///
318-
/// Shared references (`&T`) are also `Copy`, so a struct can be `Copy`, even when it holds
318+
/// Shared references (`&T`) are also `Copy`, so a type can be `Copy`, even when it holds
319319
/// shared references of types `T` that are *not* `Copy`. Consider the following struct,
320320
/// which can implement `Copy`, because it only holds a *shared reference* to our non-`Copy`
321321
/// type `PointList` from above:

0 commit comments

Comments
 (0)