-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README example doesn't work #359
Comments
rap2hpoutre
added a commit
to rap2hpoutre/regex
that referenced
this issue
May 10, 2017
bors
added a commit
that referenced
this issue
May 10, 2017
Fix example in documentation see #359 I choose to write: ```rust assert_eq!("2010".to_string(), caps["year"]); ``` But I could have choose: ```rust assert_eq!("2010", &caps["year"]); ``` Not sure which one is the best (maybe none of them)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I took the first example from the README, and tried to run it with the current stable compiler:
These are my files:
If I take these two files in a new project and run
cargo run
, I get an error:The text was updated successfully, but these errors were encountered: