Skip to content

Commit

Permalink
reference: add trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
tshepang committed Aug 23, 2016
1 parent 43204ff commit ab4c492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/reference.md
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 ab4c492

Please sign in to comment.