mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-06 23:36:37 +02:00
Fix typo - errors5.rs
Minor typo correction in exercise instructions
This commit is contained in:
parent
7c0d269279
commit
3cc7e0377c
@ -6,7 +6,7 @@
|
|||||||
//
|
//
|
||||||
// In short, this particular use case for boxes is for when you want to own a
|
// In short, this particular use case for boxes is for when you want to own a
|
||||||
// value and you care only that it is a type which implements a particular
|
// value and you care only that it is a type which implements a particular
|
||||||
// trait. To do so, The `Box` is declared as of type `Box<dyn Trait>` where
|
// trait. To do so, the `Box` is declared as of type `Box<dyn Trait>` where
|
||||||
// `Trait` is the trait the compiler looks for on any value used in that
|
// `Trait` is the trait the compiler looks for on any value used in that
|
||||||
// context. For this exercise, that context is the potential errors which
|
// context. For this exercise, that context is the potential errors which
|
||||||
// can be returned in a `Result`.
|
// can be returned in a `Result`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user