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
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

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
)))
}