1
0
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:
Mo Bitar 2025-04-03 17:52:57 +02:00 committed by GitHub
commit 78194b4441
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.