Merge pull request #652 from alyssais/patch-1

Add missing highlighting in first edition structs
This commit is contained in:
Steve Klabnik
2017-04-28 09:14:06 -04:00
committed by GitHub

View File

@@ -121,7 +121,7 @@ Initialization of a data structure (struct, enum, union) can be simplified when
fields of the data structure are initialized with variables of the same
names as the fields.
```
```rust
#[derive(Debug)]
struct Person<'a> {
name: &'a str,