From 37e8b2274c599bc95328bbde317bce1ba5ca0698 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 28 Aug 2019 08:01:50 -0700 Subject: [PATCH] Work around a rustfmt bug --- test-suite/tests/float.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-suite/tests/float.rs b/test-suite/tests/float.rs index ffa11fa..66414ea 100644 --- a/test-suite/tests/float.rs +++ b/test-suite/tests/float.rs @@ -4,6 +4,7 @@ extern crate serde_derive; use toml::Value; +#[rustfmt::skip] // appears to be a bug in rustfmt to make this converge... macro_rules! float_inf_tests { ($ty:ty) => {{ #[derive(Serialize, Deserialize)] @@ -59,7 +60,7 @@ macro_rules! float_inf_tests { assert_eq!( s, "\ - sf1 = inf +sf1 = inf sf2 = inf sf3 = -inf sf4 = nan