Skip to content

Commit ab4c492

Browse files
committed
reference: add trailing commas
1 parent 43204ff commit ab4c492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2283,7 +2283,7 @@ the `PartialEq` or `Clone` constraints for the appropriate `impl`:
22832283
#[derive(PartialEq, Clone)]
22842284
struct Foo<T> {
22852285
a: i32,
2286-
b: T
2286+
b: T,
22872287
}
22882288
```
22892289

@@ -3896,7 +3896,7 @@ Coercion is allowed between the following types:
38963896
use std::ops::Deref;
38973897

38983898
struct CharContainer {
3899-
value: char
3899+
value: char,
39003900
}
39013901

39023902
impl Deref for CharContainer {

0 commit comments

Comments
 (0)