mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-04-25 12:14:50 +02:00
Merge pull request #2224 from cassian-goode/patch-1
Fix typo - errors5.rs
This commit is contained in:
commit
78194b4441
@ -6,7 +6,7 @@
|
||||
//
|
||||
// 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
|
||||
// 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
|
||||
// context. For this exercise, that context is the potential errors which
|
||||
// can be returned in a `Result`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user