Skip auto formatting test_stream macro

This commit is contained in:
David Tolnay 2018-07-08 19:01:02 -07:00
parent 689f98d6b2
commit 9530ff6337
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -15,6 +15,8 @@ extern crate serde_json;
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 {
($data:expr, $ty:ty, |$stream:ident| $test:block) => {
{