diff options
| author | Vincent Prouillet | 2017-01-17 20:33:30 +0900 | 
|---|---|---|
| committer | GitHub | 2017-01-17 20:33:30 +0900 | 
| commit | b1f1b7f62e670b948c98ff9e10b7f1a1519f9edf (patch) | |
| tree | d568ad8d5ab26cf9030abff4e9320a73d0a47523 | |
| parent | 77f89b6f2d75cdf8a03062fb60ffd379918030a4 (diff) | |
| download | validator-b1f1b7f62e670b948c98ff9e10b7f1a1519f9edf.tar.bz2 | |
Update README.md
| -rw-r--r-- | README.md | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -97,9 +97,9 @@ Tests whether a number is in the given range. `range` takes 2 number arguments:  Examples:  ```rust -#[validate(range(min = 1, max = 10))] -#[validate(range(min = 1, max = 10.8))] -#[validate(range(min = 1.1, max = 10.8))] +#[validate(range(min = "1", max = "10"))] +#[validate(range(min = "1", max = "10.8"))] +#[validate(range(min = "1.1", max = "10.8"))]  ```  ### must_match | 
