reference: add trailing commas

This commit is contained in:
Tshepang Lekhonkhobe 2016-08-23 22:25:40 +02:00 committed by Manish Goregaokar
parent 2baf3ec3b1
commit ffe0de4069
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}
```
@ -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 {