Skip to content

Ch. 17: Replace 'page_title' in match with 'value' #4360

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mpsanchis
Copy link

Hi folks!

A new rustacean here, enjoying the book a lot.

I have realised that in the match expression I edited, there's a variable page_title that seems to be copy-pasted from a previous snippet. I'm not 100% sure about this, because I'm still getting used to Rust's syntax, but I'd say it has to be called value.

Let me know if I got something wrong, or if I should add something else to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant