Skip to content

Commit

Permalink
Rollup merge of #35948 - tshepang:missing-comma, r=steveklabnik
Browse files Browse the repository at this point in the history
reference: add trailing commas
  • Loading branch information
Jonathan Turner authored Aug 24, 2016
2 parents 336841c + ab4c492 commit 411a85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2283,7 +2283,7 @@ the `PartialEq` or `Clone` constraints for the appropriate `impl`:
#[derive(PartialEq, Clone)]
struct Foo<T> {
a: i32,
b: T
b: T,
}
```

Expand Down Expand Up @@ -3896,7 +3896,7 @@ Coercion is allowed between the following types:
use std::ops::Deref;

struct CharContainer {
value: char
value: char,
}

impl Deref for CharContainer {
Expand Down

0 comments on commit 411a85e

Please sign in to comment.