We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c26bbd + ded28f6 commit e7b0f62Copy full SHA for e7b0f62
1 file changed
src/generics/bounds/testcase_empty.md
@@ -2,7 +2,7 @@
2
3
A consequence of how bounds work is that even if a `trait` doesn't
4
include any functionality, you can still use it as a bound. `Eq` and
5
-`Ord` are examples of such `trait`s from the `std` library.
+`Copy` are examples of such `trait`s from the `std` library.
6
7
```rust,editable
8
struct Cardinal;
@@ -36,8 +36,8 @@ fn main() {
36
37
### See also:
38
39
-[`std::cmp::Eq`][eq], [`std::cmp::Ord`s][ord], and [`trait`s][traits]
+[`std::cmp::Eq`][eq], [`std::marker::Copy`][copy], and [`trait`s][traits]
40
41
[eq]: https://doc.rust-lang.org/std/cmp/trait.Eq.html
42
-[ord]: https://doc.rust-lang.org/std/cmp/trait.Ord.html
+[copy]: https://doc.rust-lang.org/std/marker/trait.Copy.html
43
[traits]: ../../trait.md
0 commit comments