-
Notifications
You must be signed in to change notification settings - Fork 467
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
尽量避免显式drop #109
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前各分支上仍存在一些手动
drop
,其中有些是不必要的,与调度相关的必要的drop
也可以通过类似于ch9
分支上的exclusive_session
接口来规避。无需手动drop
是Rust相比C语言的一大优势,要考虑或借鉴一种更好的设计达成这一目标。The text was updated successfully, but these errors were encountered: