Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/generics/bounds/testcase_empty.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A consequence of how bounds work is that even if a `trait` doesn't
include any functionality, you can still use it as a bound. `Eq` and
`Ord` are examples of such `trait`s from the `std` library.
`Copy` are examples of such `trait`s from the `std` library.

```rust,editable
struct Cardinal;
Expand Down Expand Up @@ -36,8 +36,8 @@ fn main() {

### See also:

[`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]

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