fix name of the match_indices method

pull/103/head
Rod Elias 4 years ago committed by GitHub
parent 3111684fa5
commit e74d673cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6753,7 +6753,7 @@ Found a hamlet: Markerville with 45 people
Found a town: Cardston with 3585 people
```
Finally, here is an example where we also use `.matches_indices()`. In this example we put names into a `struct` depending on the number of spaces in the `&str`.
Finally, here is an example where we also use `.match_indices()`. In this example we put names into a `struct` depending on the number of spaces in the `&str`.
```rust
#[derive(Debug)]

Loading…
Cancel
Save