diff --git a/README.md b/README.md index 9acd5bb4a..861417da6 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,8 @@ can be found on the ### Usage -Add this to your `Cargo.toml`: - -```toml -[dependencies] -regex = "1.5" -``` +To bring this crate into your repository, either add `regex` to your +`Cargo.toml`, or run `cargo add regex`. Here's a simple example that matches a date in YYYY-MM-DD format and prints the year, month and day: