From 89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 14 Jun 2014 11:03:34 -0700 Subject: Register new snapshots --- src/doc/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/doc/tutorial.md') diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 9322985a922..61c71b273cb 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -2518,8 +2518,8 @@ valid types: trait Foo {} trait Bar {} -fn sendable_foo(f: Box) { /* ... */ } -fn shareable_bar(b: &Bar: Share) { /* ... */ } +fn sendable_foo(f: Box) { /* ... */ } +fn shareable_bar(b: &Bar + Share) { /* ... */ } ~~~ When no colon is specified (such as the type `~Foo`), it is inferred that the -- cgit 1.4.1-3-g733a5