about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-03-07 23:55:51 +0000
committerMichael Goulet <michael@errs.io>2023-03-08 00:00:18 +0000
commita439c0293cc7aa31d89f76abfe03eb5fdeebde1a (patch)
tree7a510809a171a74ab6b0deed79b3851287052a52 /library/core/src
parent1a521db67e2935e5a46c7b95b511ab9a43be5770 (diff)
downloadrust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.tar.gz
rust-a439c0293cc7aa31d89f76abfe03eb5fdeebde1a.zip
may not => cannot
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/marker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/marker.rs b/library/core/src/marker.rs
index 520ae0edb09..427146941ad 100644
--- a/library/core/src/marker.rs
+++ b/library/core/src/marker.rs
@@ -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