projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c6197
)
Fix typo in Function.h
author
Qinfan Wu
<wqfish@fb.com>
Fri, 25 Aug 2017 10:05:04 +0000
(
03:05
-0700)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Fri, 25 Aug 2017 10:11:01 +0000
(
03:11
-0700)
Summary: [Folly] Fix typo in `Function.h`.
Reviewed By: yfeldblum
Differential Revision:
D5703550
fbshipit-source-id:
9dc09697fd09db6c65b1a4f2d8bdf44451b4aab2
folly/Function.h
patch
|
blob
|
history
diff --git
a/folly/Function.h
b/folly/Function.h
index b91de9ca16e4679b705e64f8259de9755a27a423..05f8fbf76e1932f52e8342347c9ca8a4bbb5fc1e 100644
(file)
--- a/
folly/Function.h
+++ b/
folly/Function.h
@@
-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 i
s
safe to destroy and reconstruct this object in place?
+ // Q: Why is i
t
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