Skip to content

Commit 836b1b0

Browse files
committed
---
yaml --- r: 154490 b: refs/heads/try2 c: 1f16437 h: refs/heads/master v: v3
1 parent c453f8b commit 836b1b0

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 43f040dac892b8685ae7a89911910980c3f8531f
8+
refs/heads/try2: 1f16437d4776679dc7d91dce49484750308c5eab
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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)