Skip to content

Commit 563fca1

Browse files
committed
test: Add issue rust-lang#5533's case
1 parent 38659ec commit 563fca1

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/source/issue_5533.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// rustfmt-format_code_in_doc_comments: true
2+
3+
struct TestStruct {
4+
position_currency: String, // Currency for position of this contract. If not null, 1 contract = 1 positionCurrency.
5+
pu: Option<i64>, // Previous event update sequense ("u" of previous message), -1 also means None
6+
}

tests/target/issue_5533.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// rustfmt-format_code_in_doc_comments: true
2+
3+
struct TestStruct {
4+
position_currency: String, // Currency for position of this contract. If not null, 1 contract = 1 positionCurrency.
5+
pu: Option<i64>, // Previous event update sequense ("u" of previous message), -1 also means None
6+
}

0 commit comments

Comments
 (0)