mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 02:28:00 +00:00
Format with rustfmt 2018-12-10
This commit is contained in:
@@ -1379,13 +1379,13 @@ fn test_enum_in_internally_tagged_enum() {
|
||||
#[test]
|
||||
fn test_internally_tagged_struct() {
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[serde(tag="type")]
|
||||
#[serde(tag = "type")]
|
||||
pub struct Struct {
|
||||
a: u8,
|
||||
}
|
||||
|
||||
assert_tokens(
|
||||
&Struct{ a: 1 },
|
||||
&Struct { a: 1 },
|
||||
&[
|
||||
Token::Struct {
|
||||
name: "Struct",
|
||||
|
||||
Reference in New Issue
Block a user