may not => cannot
This commit is contained in:
parent
1a521db67e
commit
a439c0293c
38 changed files with 54 additions and 54 deletions
|
@ -324,7 +324,7 @@ pub trait StructuralEq {
|
|||
/// attempt to derive a `Copy` implementation, we'll get an error:
|
||||
///
|
||||
/// ```text
|
||||
/// the trait `Copy` may not be implemented for this type; field `points` does not implement `Copy`
|
||||
/// the trait `Copy` cannot be implemented for this type; field `points` does not implement `Copy`
|
||||
/// ```
|
||||
///
|
||||
/// Shared references (`&T`) are also `Copy`, so a type can be `Copy`, even when it holds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue