mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 12:40:14 +03:00
Rollup merge of #35948 - tshepang:missing-comma, r=steveklabnik
reference: add trailing commas
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user