Merge pull request #2700 from TheDaemoness/patch-1

Fix invalid_value returning an Error with no info
This commit is contained in:
Pavan Kumar Sunkara 2021-08-14 22:22:56 +01:00 committed by GitHub
commit c15b894e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -640,7 +640,7 @@ impl Error {
Error {
message: c,
kind: ErrorKind::InvalidValue,
info: vec![],
info,
source: None,
}
}