We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f0670 commit 2765fdaCopy full SHA for 2765fda
book/src/05_ticket_v2/09_error_trait.md
@@ -22,7 +22,7 @@ that implements the `Error` trait.
22
pub trait Error: Debug + Display {}
23
```
24
25
-You might recall the `:` syntax from [the `Sized` trait](../04_traits/08_sized.md)—it's used to specify **supertraits**.
+You might recall the `:` syntax from [the `From` trait](../04_traits/09_from.md#supertrait--subtrait)—it's used to specify **supertraits**.
26
For `Error`, there are two supertraits: `Debug` and `Display`. If a type wants to implement `Error`, it must also
27
implement `Debug` and `Display`.
28
0 commit comments