Format with rustfmt 2018-11-30

This commit is contained in:
David Tolnay
2018-12-10 22:09:02 -08:00
parent 8b4074ee77
commit 16daba8ea9
6 changed files with 230 additions and 154 deletions
+4 -8
View File
@@ -96,10 +96,8 @@ where
#[derive(Debug, PartialEq, Serialize, Deserialize)]
struct DefaultTupleStruct<A, B, C>(
A,
#[serde(default)]
B,
#[serde(default = "MyDefault::my_default")]
C,
#[serde(default)] B,
#[serde(default = "MyDefault::my_default")] C,
)
where
C: MyDefault;
@@ -252,10 +250,8 @@ where
{
Tuple(
A,
#[serde(default)]
B,
#[serde(default = "MyDefault::my_default")]
C,
#[serde(default)] B,
#[serde(default = "MyDefault::my_default")] C,
),
}