Skip to content

Commit 2e33d42

Browse files
authored
Merge pull request #1212 from Tostapunk/fix/errors-patch1
fix: Fix typo in errors5 hint
2 parents 2398f37 + 1660f16 commit 2e33d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ propagated using `?` operators. How do we declare a return type from `main()` th
627627
628628
Under the hood, the `?` operator calls `From::from` on the error value to convert it to a boxed
629629
trait object, a `Box<dyn error::Error>`. This boxed trait object is polymorphic, and since all
630-
errors implement the `error:Error` trait, we can capture lots of different errors in one "Box"
630+
errors implement the `error::Error` trait, we can capture lots of different errors in one "Box"
631631
object.
632632
633633
Check out this section of the book:

0 commit comments

Comments
 (0)