Fix mistaken double negative in flatten error message

This commit is contained in:
David Tolnay
2019-02-15 18:56:31 -08:00
parent ef9028d798
commit 19091aacc7
+1 -1
View File
@@ -2709,7 +2709,7 @@ where
}
Err(Error::custom(format_args!(
"no variant of enum {} not found in flattened data",
"no variant of enum {} found in flattened data",
name
)))
}