-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Remove &const #7700
Comments
From what I understood,
As far as I know, |
|
I found one situation where it was nice to have
to blit bytes inside the same vector. This was safe because
To
Because passing an immutable reference and a mutable reference to the same data to a function is rightly an error. |
This was completed in 5c35047 |
#7342 lamented the lack of a bug for this.
I've heard some concerns raised that there exist scenarios that require
&const
, and thus it cannot be removed. If you have examples to demonstrate this, please post them here.The text was updated successfully, but these errors were encountered: