Commit 82ee3be4 authored by Qinfan Wu's avatar Qinfan Wu Committed by Facebook Github Bot

Fix typo in Function.h

Summary: [Folly] Fix typo in `Function.h`.

Reviewed By: yfeldblum

Differential Revision: D5703550

fbshipit-source-id: 9dc09697fd09db6c65b1a4f2d8bdf44451b4aab2
parent 37c61971
......@@ -580,7 +580,7 @@ class Function final : private detail::function::FunctionTraits<FunctionType> {
* then `*this` is left in a valid but unspecified state.
*/
Function& operator=(Function&& that) noexcept {
// Q: Why is is safe to destroy and reconstruct this object in place?
// Q: Why is it safe to destroy and reconstruct this object in place?
// A: Two reasons: First, `Function` is a final class, so in doing this
// we aren't slicing off any derived parts. And second, the move
// operation is guaranteed not to throw so we always leave the object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment