reference: add trailing commas
This commit is contained in:
parent
43204fff5d
commit
ab4c492d68
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue