File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
lexical-write-integer/src Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ macro_rules! json_data {
8989}
9090
9191/// Generate an array of values as static data
92+ #[ allow( unused_macro_rules) ]
9293macro_rules! static_data {
9394 ( $( $fn: ident $cb: ident $f1: ident $t: tt ; ) * ) => ( $(
9495 fn $fn( ) -> & ' static [ $t] {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ macro_rules! index_unchecked {
1616
1717/// Index a buffer and get a mutable reference, without bounds checking.
1818#[ cfg( not( feature = "safe" ) ) ]
19+ #[ allow( unused_macro_rules) ]
1920macro_rules! index_unchecked_mut {
2021 ( $x: ident[ $i: expr] ) => {
2122 * $x. get_unchecked_mut( $i)
@@ -32,6 +33,7 @@ macro_rules! index_unchecked {
3233
3334/// Index a buffer and get a mutable reference, with bounds checking.
3435#[ cfg( feature = "safe" ) ]
36+ #[ allow( unused_macro_rules) ]
3537macro_rules! index_unchecked_mut {
3638 ( $x: ident[ $i: expr] ) => {
3739 $x[ $i]
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ macro_rules! index_unchecked {
2222// The newer version of the lint is `unused_macro_rules`, but this isn't
2323// supported until nightly-2022-05-12.
2424#[ cfg( not( feature = "safe" ) ) ]
25+ #[ allow( unused_macro_rules) ]
2526macro_rules! index_unchecked_mut {
2627 ( $x: ident[ $i: expr] ) => {
2728 * $x. get_unchecked_mut( $i)
@@ -53,6 +54,7 @@ macro_rules! index_unchecked {
5354// The newer version of the lint is `unused_macro_rules`, but this isn't
5455// supported until nightly-2022-05-12.
5556#[ cfg( feature = "safe" ) ]
57+ #[ allow( unused_macro_rules) ]
5658macro_rules! index_unchecked_mut {
5759 ( $x: ident[ $i: expr] ) => {
5860 $x[ $i]
You can’t perform that action at this time.
0 commit comments