aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMartinHowarth2018-09-30 17:52:32 +0100
committerMartinHowarth2018-09-30 17:52:32 +0100
commit7c1e4ba9a248aa425a4b4615a26387207fd36176 (patch)
tree833004ac1187be4700b20df9bc4edd85a7f420c0 /README.md
parentbd27ea34f904a8746c682c0cef90c4f1083b5798 (diff)
downloadvalidator-7c1e4ba9a248aa425a4b4615a26387207fd36176.tar.bz2
Fix a typo in schema level validation README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ac7436..c9bda8d 100644
--- a/README.md
+++ b/README.md
@@ -261,7 +261,7 @@ Often, some error validation can only be applied when looking at the full struct
```rust
#[derive(Debug, Validate, Deserialize)]
-#[validate(schema(function = "validate_category", skip_on_field_errors = "false")]
+#[validate(schema(function = "validate_category", skip_on_field_errors = "false"))]
struct CategoryData {
category: String,
name: String,