Skip to content
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

Incorrect code snippets / feature description (?) #1275

Closed
gl4eqen opened this issue Oct 2, 2019 · 0 comments · Fixed by #1276
Closed

Incorrect code snippets / feature description (?) #1275

gl4eqen opened this issue Oct 2, 2019 · 0 comments · Fixed by #1276

Comments

@gl4eqen
Copy link

gl4eqen commented Oct 2, 2019

Hey,
code snippet within scope/borrow/alias.md is completely valid & compiles after uncommenting line 22 //let mutable_borrow = &mut point.

I'd love to fix it but currently I'm still struggling to get a grasp on a language. As far as I understand it is acceptable to have both many immutable and mutable references within the same scope but not to.. use them in a interleaved manner?

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 a pull request may close this issue.

1 participant