aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-20 18:53:55 +0100
committerMartin Fischer <martin@push-f.com>2021-11-20 19:19:29 +0100
commit9044eb941a310e4120dab93a43e6630efef72e4a (patch)
tree40940640b1ace6a11a6b89ea04a0d70b1f67e38a /README.md
parent3170127a4ef79c43018775934c7e0444dc828b2d (diff)
assert that dynamized traits are object-safe
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e6c715e..77d28d1 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ let object = &client as &dyn Client;
The last line of the above code fails to compile with:
-> error[E0191]: the value of the associated type `Error` (from trait `Client`)
+> error\[E0191\]: the value of the associated type `Error` (from trait `Client`)
> must be specified
Sometimes you however want a trait object to be able to encompass trait