1
Fork 0

may not => cannot

This commit is contained in:
Michael Goulet 2023-03-07 23:55:51 +00:00
parent 1a521db67e
commit a439c0293c
38 changed files with 54 additions and 54 deletions

View file

@ -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