5ce82e1513
resolves 5012 resolves 4850 This behavior was noticed when using the ``trailing_comma = "Never"`` configuration option (5012). This behavior was also noticed when using default configurations (4850). rustfmt would add a trailing space to where clause bounds that had an empty right hand side. Now no trailing space is added to the end of these where clause bounds.
9 lines
138 B
Rust
9 lines
138 B
Rust
// rustfmt-trailing_comma: Never
|
|
|
|
pub struct Matrix<T, const R: usize, const C: usize>
|
|
where
|
|
[T; R * C]:
|
|
{
|
|
contents: [T; R * C]
|
|
}
|