aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorVincent Prouillet2017-11-08 17:47:59 +0100
committerVincent Prouillet2017-11-08 17:47:59 +0100
commitdcc3b0a42f74bedc6cf57feea0f441e7166aa027 (patch)
treea62db24bd3d35349870810a2d7974ce15add8e92 /README.md
parent14a5b7a695de67f4bc2e38d5eeae2eea11fed743 (diff)
downloadvalidator-dcc3b0a42f74bedc6cf57feea0f441e7166aa027.tar.bz2
Feature gate phone feature in validator_derive as well
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 c034c70..a7d57d5 100644
--- a/README.md
+++ b/README.md
@@ -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