You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is great to add a test to this section to cause stack overflow before implementing our own Drop.
The text was updated successfully, but these errors were encountered:
tamuhey
changed the title
Add code to cause stack overflow in "fist-drop" section
Add a test to check stack overflow in "fist-drop" section
May 23, 2021
I know it has been 2 years since your comment but I decided to follow and try this excellent book recently and was wondering the same question as you !!!
In my opinion this is equivalent and I found the second impl more elegant because shorter and without making "b" mutable but i also would like the opinion of a more seasoned Rust developer :)
I think it is great to add a test to this section to cause stack overflow before implementing our own
Drop
.The text was updated successfully, but these errors were encountered: