]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // rustfmt-indent_style: Visual |
2 | ||
3 | #[derive(Debug,)] | |
4 | pub enum Case { | |
5 | Upper, | |
6 | Lower | |
7 | } | |
8 | ||
9 | #[derive(Debug, Clone, PartialEq, Eq,)] | |
10 | pub enum Case { | |
11 | Upper, | |
12 | Lower | |
13 | } | |
14 | ||
15 | // NB - This formatting looks potentially off the desired state, but is | |
16 | // consistent with current behavior. Included here to provide a line wrapped | |
17 | // derive case with the changes applied to resolve issue #4584 | |
18 | #[derive(Add, Sub, Mul, Div, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Debug, Hash, Serialize, Mul,)] | |
19 | struct Foo {} |