Skip to content

Commit 794adda

Browse files
committed
---
yaml --- r: 129414 b: refs/heads/snap-stage3 c: 1f16437 h: refs/heads/master v: v3
1 parent 6c65161 commit 794adda

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 566b470e138e929e8a93d613372db1ba177c494f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 43f040dac892b8685ae7a89911910980c3f8531f
4+
refs/heads/snap-stage3: 1f16437d4776679dc7d91dce49484750308c5eab
55
refs/heads/try: 80b45ddbd351f0a4a939c3a3c4e20b4defec4b35
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/doc/guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ Finally, Rust has a "sum type", an **enum**. Enums are an incredibly useful
10761076
feature of Rust, and are used throughout the standard library. Enums look
10771077
like this:
10781078

1079-
```
1079+
```{rust}
10801080
enum Ordering {
10811081
Less,
10821082
Equal,
@@ -1088,7 +1088,7 @@ This is an enum that is provided by the Rust standard library. An `Ordering`
10881088
can only be _one_ of `Less`, `Equal`, or `Greater` at any given time. Here's
10891089
an example:
10901090

1091-
```rust
1091+
```{rust}
10921092
fn cmp(a: int, b: int) -> Ordering {
10931093
if a < b { Less }
10941094
else if a > b { Greater }
@@ -1155,7 +1155,7 @@ gotten there yet!
11551155

11561156
You can have any number of values in an enum:
11571157

1158-
```
1158+
```{rust}
11591159
enum OptionalColor {
11601160
Color(int, int, int),
11611161
Missing
@@ -1652,7 +1652,7 @@ a full line of input. Nice and easy.
16521652

16531653
Do you remember this code?
16541654

1655-
```
1655+
```{rust}
16561656
enum OptionalInt {
16571657
Value(int),
16581658
Missing,

0 commit comments

Comments
 (0)