Skip to content

Commit e7b0f62

Browse files
authored
Merge pull request #1343 from gokhanettin/fix-empty-bound-examples
Fix empty bound examples
2 parents 8c26bbd + ded28f6 commit e7b0f62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/generics/bounds/testcase_empty.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A consequence of how bounds work is that even if a `trait` doesn't
44
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.
5+
`Copy` are examples of such `trait`s from the `std` library.
66

77
```rust,editable
88
struct Cardinal;
@@ -36,8 +36,8 @@ fn main() {
3636

3737
### See also:
3838

39-
[`std::cmp::Eq`][eq], [`std::cmp::Ord`s][ord], and [`trait`s][traits]
39+
[`std::cmp::Eq`][eq], [`std::marker::Copy`][copy], and [`trait`s][traits]
4040

4141
[eq]: https://doc.rust-lang.org/std/cmp/trait.Eq.html
42-
[ord]: https://doc.rust-lang.org/std/cmp/trait.Ord.html
42+
[copy]: https://doc.rust-lang.org/std/marker/trait.Copy.html
4343
[traits]: ../../trait.md

0 commit comments

Comments
 (0)