Skip to content

Commit

Permalink
fixes some syntax highlighting annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Aug 20, 2014
1 parent 43f040d commit 1f16437
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/doc/guide.md
Expand Up @@ -1076,7 +1076,7 @@ Finally, Rust has a "sum type", an **enum**. Enums are an incredibly useful
feature of Rust, and are used throughout the standard library. Enums look
like this:

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

```rust
```{rust}
fn cmp(a: int, b: int) -> Ordering {
if a < b { Less }
else if a > b { Greater }
Expand Down Expand Up @@ -1155,7 +1155,7 @@ gotten there yet!

You can have any number of values in an enum:

```
```{rust}
enum OptionalColor {
Color(int, int, int),
Missing
Expand Down Expand Up @@ -1652,7 +1652,7 @@ a full line of input. Nice and easy.

Do you remember this code?

```
```{rust}
enum OptionalInt {
Value(int),
Missing,
Expand Down

5 comments on commit 1f16437

@bors
Copy link
Contributor

@bors bors commented on 1f16437 Aug 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from steveklabnik
at cburgdorf@1f16437

@bors
Copy link
Contributor

@bors bors commented on 1f16437 Aug 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging cburgdorf/rust/patch-3 = 1f16437 into auto

@bors
Copy link
Contributor

@bors bors commented on 1f16437 Aug 20, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cburgdorf/rust/patch-3 = 1f16437 merged ok, testing candidate = 33037fd

@bors
Copy link
Contributor

@bors bors commented on 1f16437 Aug 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 33037fd

Please sign in to comment.