Skip to content

Commit a136c1d

Browse files
committed
---
yaml --- r: 6420 b: refs/heads/master c: 8e2b5de h: refs/heads/master v: v3
1 parent 0afd4e2 commit a136c1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 2524636dbde29fef7158f4becd5f957d43ea8a40
2+
refs/heads/master: 8e2b5de90ea5773db2ce980a252b0038f2eace2e

trunk/doc/tutorial/generic.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ to assign a type to it. (The same goes for `[]`, in fact.) If you
6262
really want to have such a statement, you'll have to write it like
6363
this:
6464

65-
let n = none::<int>;
65+
let n2: option::t<int> = none;
6666
// or
67-
let n2: option::t<int>: none;
67+
let n = none::<int>;
6868

6969
Note that, in a value expression, `<` already has a meaning as a
7070
comparison operator, so you'll have to write `::<T>` to explicitly

0 commit comments

Comments
 (0)