diff options
| author | Vincent Prouillet | 2017-11-08 17:47:59 +0100 |
|---|---|---|
| committer | Vincent Prouillet | 2017-11-08 17:47:59 +0100 |
| commit | dcc3b0a42f74bedc6cf57feea0f441e7166aa027 (patch) | |
| tree | a62db24bd3d35349870810a2d7974ce15add8e92 /README.md | |
| parent | 14a5b7a695de67f4bc2e38d5eeae2eea11fed743 (diff) | |
| download | validator-dcc3b0a42f74bedc6cf57feea0f441e7166aa027.tar.bz2 | |
Feature gate phone feature in validator_derive as well
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ Examples: Tests whether the String is a valid phone number (in international format, ie. containing the country indicator like `+14152370800` for an US number — where `4152370800` is the national number equivalent, which is seen as invalid). -To use this validator, you must enable the `phone` feature for the `validator` crate. +To use this validator, you must enable the `phone` feature for the `validator_derive` crate. This validator doesn't take any arguments: `#[validate(phone)]`; ### custom |
