Fix broken links (#47)
This commit is contained in:
@@ -117,7 +117,7 @@ error[E0308]: mismatched types
|
||||
|
|
||||
```
|
||||
|
||||
We'll see how to convert between types [later in this course](../04_traits/08_from).
|
||||
We'll see how to convert between types [later in this course](../04_traits/09_from).
|
||||
|
||||
## References
|
||||
|
||||
@@ -134,5 +134,5 @@ behave.
|
||||
We'll talk about operator overloading [later in the course](../04_traits/03_operator_overloading), after we've covered traits.
|
||||
|
||||
[^coercion]: There are some exceptions to this rule, mostly related to references, smart pointers and ergonomics. We'll
|
||||
cover those [later on](../04_traits/06_deref).
|
||||
cover those [later on](../04_traits/07_deref).
|
||||
A mental model of "all conversions are explicit" will serve you well in the meantime.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Panics
|
||||
|
||||
Let's go back to the `speed` function you wrote for the ["Variables" section](../02_variables/README.md).
|
||||
Let's go back to the `speed` function you wrote for the ["Variables" section](02_variables).
|
||||
It probably looked something like this:
|
||||
|
||||
```rust
|
||||
|
||||
@@ -92,7 +92,7 @@ It is also fairly limited: you can only rely on `as` casting
|
||||
for primitive types and a few other special cases.
|
||||
When working with composite types, you'll have to rely on
|
||||
different conversion mechanisms ([fallible](../05_ticket_v2/13_try_from)
|
||||
and [infallible](../04_traits/08_from)), which we'll explore later on.
|
||||
and [infallible](../04_traits/09_from)), which we'll explore later on.
|
||||
|
||||
## References
|
||||
|
||||
|
||||
Reference in New Issue
Block a user