From 82ee3be4b83964e8476315efa5817c2c41050f22 Mon Sep 17 00:00:00 2001 From: Qinfan Wu Date: Fri, 25 Aug 2017 03:05:04 -0700 Subject: [PATCH] Fix typo in Function.h Summary: [Folly] Fix typo in `Function.h`. Reviewed By: yfeldblum Differential Revision: D5703550 fbshipit-source-id: 9dc09697fd09db6c65b1a4f2d8bdf44451b4aab2 --- folly/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Function.h b/folly/Function.h index b91de9ca..05f8fbf7 100644 --- a/folly/Function.h +++ b/folly/Function.h @@ -580,7 +580,7 @@ class Function final : private detail::function::FunctionTraits { * 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 -- 2.34.1