mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 09:28:04 +00:00
Format with rustfmt 0.99.2
This commit is contained in:
@@ -13,15 +13,17 @@ fn test_raw_identifiers() {
|
||||
#[derive(Debug, PartialEq, Serialize, Deserialize)]
|
||||
#[allow(non_camel_case_types)]
|
||||
enum r#type {
|
||||
r#type {
|
||||
r#type: (),
|
||||
}
|
||||
r#type { r#type: () },
|
||||
}
|
||||
|
||||
assert_tokens(
|
||||
&r#type::r#type { r#type: () },
|
||||
&[
|
||||
Token::StructVariant { name: "type", variant: "type", len: 1 },
|
||||
Token::StructVariant {
|
||||
name: "type",
|
||||
variant: "type",
|
||||
len: 1,
|
||||
},
|
||||
Token::Str("type"),
|
||||
Token::Unit,
|
||||
Token::StructVariantEnd,
|
||||
|
||||
Reference in New Issue
Block a user