Merge pull request #251 from nick70/master

Add missing back-tick in tutorial.
This commit is contained in:
Niko Matsakis 2017-08-29 04:32:50 -04:00 committed by GitHub
commit f7d274a76a

View File

@ -412,7 +412,7 @@ give you the idea:
| `<A> <B> => bar(<>)` | `<a:A> <b:B> => bar(a, b)` |
| `<p:A> <q:B> => bar(<>)` | `<p:A> <q:B> => bar(p, q)` |
| `<p:A> B => Foo {<>}` | `<p:A> B => Foo {p:p}` |
| `<p:A> <q:B> => Foo {<>} | `<p:A> <q:B> => Foo {p:p, q:q}` |
| `<p:A> <q:B> => Foo {<>}` | `<p:A> <q:B> => Foo {p:p, q:q}` |
The `<>` expressions also works with struct constructors (like `Foo
{...}` in examples above). This works out well if the names of your