- wrong -
I think the next sentence clarifies pretty well.
> In this case, what’s dropped is &mut future1. But future1 is not dropped, so the actual future is not cancelled.
The author clearly understands these details. I think it's just a question of wording: did we "drop a reference (which has no effect)" or did we "not drop anything (because references don't implement Drop)"?
I think the next sentence clarifies pretty well.
> In this case, what’s dropped is &mut future1. But future1 is not dropped, so the actual future is not cancelled.
The author clearly understands these details. I think it's just a question of wording: did we "drop a reference (which has no effect)" or did we "not drop anything (because references don't implement Drop)"?