Skip to content

Commit b9ac569

Browse files
committed
Fixes #359
1 parent 204e409 commit b9ac569

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ fn main() {
5555
").unwrap();
5656
let caps = re.captures("2010-03-14").unwrap();
5757

58-
assert_eq!("2010", caps["year"]);
59-
assert_eq!("03", caps["month"]);
60-
assert_eq!("14", caps["day"]);
58+
assert_eq!("2010", &caps["year"]);
59+
assert_eq!("03", &caps["month"]);
60+
assert_eq!("14", &caps["day"]);
6161
}
6262
```
6363

0 commit comments

Comments
 (0)