We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204e409 commit b9ac569Copy full SHA for b9ac569
README.md
@@ -55,9 +55,9 @@ fn main() {
55
").unwrap();
56
let caps = re.captures("2010-03-14").unwrap();
57
58
- assert_eq!("2010", caps["year"]);
59
- assert_eq!("03", caps["month"]);
60
- assert_eq!("14", caps["day"]);
+ assert_eq!("2010", &caps["year"]);
+ assert_eq!("03", &caps["month"]);
+ assert_eq!("14", &caps["day"]);
61
}
62
```
63
0 commit comments