diff options
| author | Patrick Junger | 2018-07-22 13:36:48 +0200 |
|---|---|---|
| committer | GitHub | 2018-07-22 13:36:48 +0200 |
| commit | 8cb9b5ee7250c98616d1d7e2e625f82338beb03c (patch) | |
| tree | c39134e42aea852fe9eca523955245df69588c77 | |
| parent | dcc6b3ab4e917b939ab5d436671a68a1ef58e752 (diff) | |
| download | validator-8cb9b5ee7250c98616d1d7e2e625f82338beb03c.tar.bz2 | |
Fixed closing parentheses in README
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
