-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
RFC: Disallow 'unsafe' keyword when opening a function body #2515
Comments
|
Why? I can easily imagine writing a function whose entire body is unsafe... |
It is useful and even a bit satisfying but |
Marking as RFC. I agree with this, and I'd even prefer bringing back, say, the |
Huh, I don't think I know the difference between these two... |
I agree that it's currently the source of confusion and should go. Not sure what to do about |
I converted core to not use this pattern, then started on std. The uv code has many large functions that are entirely unsafe and, under the new scheme, have 8-space indentation. Encountering that made me less enthusiastic about this change. |
Closing this for now. Feel free to open a new bug about changing the keyword. |
dont rerun build script unnecessarily
It's an abomination!
The text was updated successfully, but these errors were encountered: