Skip to content

Commit 3fbbca6

Browse files
authored
Bump paste to 1 (rust-lang/packed-simd#333)
paste::item_with_macros was obsoleted and paste::items is its replacement See dtolnay/paste#42
1 parent 68c7163 commit 3fbbca6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ into_bits = []
3030
libcore_neon = []
3131

3232
[dev-dependencies]
33-
paste = "^0.1.3"
33+
paste = "^1"
3434
arrayvec = { version = "^0.5", default-features = false }
3535

3636
[target.'cfg(target_arch = "x86_64")'.dependencies.sleef-sys]

src/api/bit_manip.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ macro_rules! impl_bit_manip {
3434

3535
test_if! {
3636
$test_tt:
37-
paste::item_with_macros! {
37+
paste::item! {
3838
#[allow(overflowing_literals)]
3939
pub mod [<$id _bit_manip>] {
4040
#![allow(const_item_mutation)]

src/api/swap_bytes.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ macro_rules! impl_swap_bytes {
7676

7777
test_if! {
7878
$test_tt:
79-
paste::item_with_macros! {
79+
paste::item! {
8080
pub mod [<$id _swap_bytes>] {
8181
use super::*;
8282

0 commit comments

Comments
 (0)