Skip to content

Commit 192c781

Browse files
committed
Format with rustfmt 1.4.25-beta
1 parent e3d871f commit 192c781

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

‎serde/src/de/impls.rs‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,10 +2334,7 @@ where
23342334
0 => Ok(Field::Unbounded),
23352335
1 => Ok(Field::Included),
23362336
2 => Ok(Field::Excluded),
2337-
_ => Err(Error::invalid_value(
2338-
Unexpected::Unsigned(value),
2339-
&self,
2340-
)),
2337+
_ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)),
23412338
}
23422339
}
23432340

@@ -2499,10 +2496,7 @@ where
24992496
match value {
25002497
0 => Ok(Field::Ok),
25012498
1 => Ok(Field::Err),
2502-
_ => Err(Error::invalid_value(
2503-
Unexpected::Unsigned(value),
2504-
&self,
2505-
)),
2499+
_ => Err(Error::invalid_value(Unexpected::Unsigned(value), &self)),
25062500
}
25072501
}
25082502

0 commit comments

Comments
 (0)