Skip to content

Commit 71d37c3

Browse files
committed
Apply rustfmt
1 parent 73514f9 commit 71d37c3

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

integration_test/src/main.rs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,13 @@ fn test_set_label(cl: &Client) {
311311
assert_eq!(info.labels[0], json::GetAddressInfoResultLabel::Simple("label".into()));
312312
} else {
313313
assert_eq!(info.label.as_ref().unwrap(), "label");
314-
assert_eq!(info.labels[0], json::GetAddressInfoResultLabel::WithPurpose {
315-
name: "label".into(),
316-
purpose: json::GetAddressInfoResultLabelPurpose::Receive,
317-
});
314+
assert_eq!(
315+
info.labels[0],
316+
json::GetAddressInfoResultLabel::WithPurpose {
317+
name: "label".into(),
318+
purpose: json::GetAddressInfoResultLabelPurpose::Receive,
319+
}
320+
);
318321
}
319322

320323
cl.set_label(&addr, "other").unwrap();
@@ -324,10 +327,13 @@ fn test_set_label(cl: &Client) {
324327
assert_eq!(info.labels[0], json::GetAddressInfoResultLabel::Simple("other".into()));
325328
} else {
326329
assert_eq!(info.label.as_ref().unwrap(), "other");
327-
assert_eq!(info.labels[0], json::GetAddressInfoResultLabel::WithPurpose {
328-
name: "other".into(),
329-
purpose: json::GetAddressInfoResultLabelPurpose::Receive,
330-
});
330+
assert_eq!(
331+
info.labels[0],
332+
json::GetAddressInfoResultLabel::WithPurpose {
333+
name: "other".into(),
334+
purpose: json::GetAddressInfoResultLabelPurpose::Receive,
335+
}
336+
);
331337
}
332338
}
333339

json/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ pub enum GetAddressInfoResultLabel {
653653
WithPurpose {
654654
name: String,
655655
purpose: GetAddressInfoResultLabelPurpose,
656-
}
656+
},
657657
}
658658

659659
#[derive(Clone, PartialEq, Eq, Debug, Deserialize, Serialize)]

0 commit comments

Comments
 (0)