Skip to content

Commit 056d3ff

Browse files
committed
bump xmacro version
1 parent dd95b98 commit 056d3ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ std = []
1717
atomic_append = []
1818

1919
[dev-dependencies]
20-
xmacro = "0.3.0"
20+
xmacro = "0.4.0"
2121

2222
# include debug info for flamgraph and other profiling tools
2323
[profile.bench]

tests/std.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn test_drain() {
2929
}
3030

3131
xmacro! {
32-
$[
32+
$(
3333
// tests with simple i32 lists
3434
name: init: range: replace: drained: result:
3535
nop_begin [1, 2, 3, 4, 5, 6] (0..0) [] [] [1, 2, 3, 4, 5, 6]
@@ -51,7 +51,7 @@ xmacro! {
5151
replace_middle_longer [1, 2, 3, 4, 5, 6] (3..5) [44, 55, 66] [4, 5] [1, 2, 3, 44, 55, 66, 6]
5252
replace_end_longer [1, 2, 3, 4, 5, 6] (4..) [66, 77, 88] [5, 6] [1, 2, 3, 4, 66, 77, 88]
5353
big_nop [[1; 64]; 64] (0..0) [[0; 64]; 0] [[0; 64]; 0] [[1; 64]; 64]
54-
]
54+
)
5555

5656
#[test]
5757
fn $+test_splice_$name() {

0 commit comments

Comments
 (0)