We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d7dfb2 + 7955f7b commit 43320a9Copy full SHA for 43320a9
serde_valid/README.md
@@ -82,7 +82,7 @@ struct Data {
82
let err = Data::from_json_value(json!({ "val": 123 })).unwrap_err();
83
84
assert_eq!(
85
- err.as_validation_errors().unwrap().to_string(),
+ err.to_string(),
86
json!({
87
"errors": [],
88
"properties": {
serde_valid/src/lib.rs
@@ -82,7 +82,7 @@
//! let err = Data::from_json_value(json!({ "val": 123 })).unwrap_err();
//!
//! assert_eq!(
-//! err.as_validation_errors().unwrap().to_string(),
+//! err.to_string(),
//! json!({
//! "errors": [],
//! "properties": {
0 commit comments