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.
1 parent 4d7dfb2 commit 7955f7bCopy full SHA for 7955f7b
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