summaryrefslogtreecommitdiff
path: root/info.toml
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2022-09-29 10:44:20 +0200
committerGitHub <noreply@github.com>2022-09-29 10:44:20 +0200
commit2e33d422a52424740ad76309231cce429112a9ba (patch)
treea0412658281d5369cb2202ea777c87c60911f789 /info.toml
parent2398f378b06fbb547cf3a3b292554a756d806c5e (diff)
parent1660f1647eb16692f5dd1367395416c9b261848d (diff)
Merge pull request #1212 from Tostapunk/fix/errors-patch1
fix: Fix typo in errors5 hint
Diffstat (limited to 'info.toml')
-rw-r--r--info.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/info.toml b/info.toml
index e80d8a9..ecf307d 100644
--- a/info.toml
+++ b/info.toml
@@ -627,7 +627,7 @@ propagated using `?` operators. How do we declare a return type from `main()` th
Under the hood, the `?` operator calls `From::from` on the error value to convert it to a boxed
trait object, a `Box<dyn error::Error>`. This boxed trait object is polymorphic, and since all
-errors implement the `error:Error` trait, we can capture lots of different errors in one "Box"
+errors implement the `error::Error` trait, we can capture lots of different errors in one "Box"
object.
Check out this section of the book: