aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-21 20:37:16 +0100
committerMartin Fischer <martin@push-f.com>2021-11-21 20:37:42 +0100
commit29d0acb48a03a08eff63d0c40c2e6961f250cb89 (patch)
tree8df9113339d124d1b605d2e26e7922ba4ac76612 /README.md
parentf897ac6b6027693fe197ee7b6ce9f7fe428e8440 (diff)
fix code highlighting & ui-tests, bump to 0.3.1v0.3.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 58abda6..4a383fe 100644
--- a/README.md
+++ b/README.md
@@ -94,7 +94,7 @@ Dynamize also understands if you wrap associated types in the following types:
Note that since these are resolved recursively you can actually nest these
arbitrarily so e.g. the following also just works:
-```rs
+```rust ignore
fn example(&self) -> Result<Option<Self::Item>, Self::Error>;
```
@@ -103,7 +103,7 @@ fn example(&self) -> Result<Option<Self::Item>, Self::Error>;
In order to be object-safe methods must not have generics, so dynamize simply
moves them to the trait definition:
-```rs
+```rust
trait Gen {
fn foobar<A>(&self, a: A) -> A;
}
@@ -111,7 +111,7 @@ trait Gen {
becomes
-```rs
+```rust
trait DynGen<A> {
fn foobar(&self, a: A) -> A;
}