rephrase: struct -> type

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Jan Riemer 2020-08-16 20:17:28 +02:00 committed by GitHub
parent a876b3d8aa
commit 43dec0e171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -315,7 +315,7 @@ pub trait StructuralEq {
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
/// ```
///
/// Shared references (`&T`) are also `Copy`, so a struct can be `Copy`, even when it holds
/// Shared references (`&T`) are also `Copy`, so a type can be `Copy`, even when it holds
/// shared references of types `T` that are *not* `Copy`. Consider the following struct,
/// which can implement `Copy`, because it only holds a *shared reference* to our non-`Copy`
/// type `PointList` from above: