rephrase: struct -> type
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
parent
a876b3d8aa
commit
43dec0e171
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ pub trait StructuralEq {
|
||||||
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
|
/// 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,
|
/// 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`
|
/// which can implement `Copy`, because it only holds a *shared reference* to our non-`Copy`
|
||||||
/// type `PointList` from above:
|
/// type `PointList` from above:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue