From 8cb9b5ee7250c98616d1d7e2e625f82338beb03c Mon Sep 17 00:00:00 2001 From: Patrick Junger Date: Sun, 22 Jul 2018 13:36:48 +0200 Subject: Fixed closing parentheses in README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28b6b87..aac2903 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ mentioned is missing or has a different type than the field the attribute is on. Examples: ```rust -#[validate(must_match = "password2"))] +#[validate(must_match = "password2")] ``` ### contains @@ -140,7 +140,7 @@ Tests whether the string contains the substring given or if a key is present in Examples: ```rust -#[validate(contains = "gmail"))] +#[validate(contains = "gmail")] ``` ### regex @@ -150,7 +150,7 @@ Tests whether the string matchs the regex given. `regex` takes Examples: ```rust -#[validate(regex = "ALLOWED_USERNAMES_RE"))] +#[validate(regex = "ALLOWED_USERNAMES_RE")] ``` ### credit\_card @@ -178,7 +178,7 @@ Examples: ```rust #[validate(custom = "validate_something")] -#[validate(custom = "::utils::validate_something"] +#[validate(custom = "::utils::validate_something")] ``` ## Struct level validation -- cgit v1.2.3