Fix broken links (#47)

This commit is contained in:
Sympatron GmbH
2024-05-24 12:57:57 +02:00
committed by GitHub
parent eb0b4f75f0
commit 7a4fa2d1f4
8 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ that implements the `Error` trait.
pub trait Error: Debug + Display {}
```
You might recall the `:` syntax from [the `Sized` trait](../04_traits/07_sized.md)—it's used to specify **supertraits**.
You might recall the `:` syntax from [the `Sized` trait](../04_traits/08_sized.md)—it's used to specify **supertraits**.
For `Error`, there are two supertraits: `Debug` and `Display`. If a type wants to implement `Error`, it must also
implement `Debug` and `Display`.

View File

@@ -1,6 +1,6 @@
# `TryFrom` and `TryInto`
In the previous chapter we looked at the [`From` and `Into` traits](../04_traits/08_from.md),
In the previous chapter we looked at the [`From` and `Into` traits](../04_traits/09_from.md),
Rust's idiomatic interfaces for **infallible** type conversions.
But what if the conversion is not guaranteed to succeed?