We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a59654 commit daf4789Copy full SHA for daf4789
tests/source/macros.rs
@@ -21,6 +21,12 @@ fn main() {
21
kaas!(/* comments */ a /* post macro */, b /* another */);
22
23
trailingcomma!( a , b , c , );
24
+ // Preserve trailing comma only when necessary.
25
+ ok!(file.seek(
26
+ SeekFrom::Start(
27
+ table.map(|table| fixture.offset(table)).unwrap_or(0),
28
+ )
29
+ ));
30
31
noexpr!( i am not an expression, OK? );
32
tests/target/macros.rs
@@ -33,6 +33,10 @@ fn main() {
33
);
34
35
trailingcomma!(a, b, c,);
36
37
+ ok!(file.seek(SeekFrom::Start(
38
39
+ )));
40
41
42
0 commit comments