You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-15 05:40:30 +02:00
Fix typo in drop.md (#457)
This commit is contained in:
@ -33,7 +33,7 @@ fn main() {
|
|||||||
|
|
||||||
Discussion points:
|
Discussion points:
|
||||||
|
|
||||||
* Why does not `Drop::drop` take `self`?
|
* Why doesn't `Drop::drop` take `self`?
|
||||||
* Short-answer: If it did, `std::mem::drop` would be called at the end of
|
* Short-answer: If it did, `std::mem::drop` would be called at the end of
|
||||||
the block, resulting in another call to `Drop::drop`, and a stack
|
the block, resulting in another call to `Drop::drop`, and a stack
|
||||||
overflow!
|
overflow!
|
||||||
|
Reference in New Issue
Block a user