mirror of
https://github.com/serde-rs/json.git
synced 2025-10-03 07:46:05 +00:00
Skip auto formatting test_stream macro
This commit is contained in:
parent
689f98d6b2
commit
9530ff6337
@ -15,6 +15,8 @@ extern crate serde_json;
|
|||||||
|
|
||||||
use serde_json::{Deserializer, Value};
|
use serde_json::{Deserializer, Value};
|
||||||
|
|
||||||
|
// Rustfmt issue https://github.com/rust-lang-nursery/rustfmt/issues/2740
|
||||||
|
#[cfg_attr(rustfmt, rustfmt_skip)]
|
||||||
macro_rules! test_stream {
|
macro_rules! test_stream {
|
||||||
($data:expr, $ty:ty, |$stream:ident| $test:block) => {
|
($data:expr, $ty:ty, |$stream:ident| $test:block) => {
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user