summaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-12-21 17:32:23 +0000
committerLouis Dionne <ldionne@apple.com>2018-12-21 17:32:23 +0000
commit9312150d51233b22f502f2dfe9b392cc037b6c41 (patch)
tree14d2baab1774c7c6e5b1bbdd5f5d8eafa3eae005 /libcxx
parent4702edaf5a093df57d87a5911dcdcdf03e2fafeb (diff)
[NFC] Fix typo in comment
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/variant2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/variant b/libcxx/include/variant
index b33b1c40ae5..4a771dc6350 100644
--- a/libcxx/include/variant
+++ b/libcxx/include/variant
@@ -1066,7 +1066,7 @@ public:
#ifndef _LIBCPP_NO_EXCEPTIONS
// EXTENSION: When the move construction of `__lhs` into `__rhs` throws
// and `__tmp` is nothrow move constructible then we move `__tmp` back
- // into `__rhs` and provide the strong exception safety guarentee.
+ // into `__rhs` and provide the strong exception safety guarantee.
try {
this->__generic_construct(*__rhs, _VSTD::move(*__lhs));
} catch (...) {