about summary refs log tree commit diff
path: root/absl/types/variant.h
diff options
context:
space:
mode:
authorSungmann Cho <55860394+chosungmann@users.noreply.github.com>2019-09-30T18·24+0900
committerCJ Johnson <6013273+CJ-Johnson@users.noreply.github.com>2019-09-30T18·24-0400
commit882b3501a31eb0e4ae4213afb91a0e43feda7d5f (patch)
treecc257cb301293a927a3611103cc18f14c61ccc9a /absl/types/variant.h
parent502efe6d7841bff82b1aeef5500491fe9a48c635 (diff)
Fix spelling errors (#384)
aligment -> alignment
constructable -> constructible
constuctible -> constructible
contructed -> constructed
destructable -> destructible
futher -> further
implcit -> implicit
implemenation -> implementation
intrinics -> intrinsics
Diffstat (limited to 'absl/types/variant.h')
-rw-r--r--absl/types/variant.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/types/variant.h b/absl/types/variant.h
index ebd52d28b711..7ef7f88ca110 100644
--- a/absl/types/variant.h
+++ b/absl/types/variant.h
@@ -24,7 +24,7 @@
 // should always hold a value of one of its alternative types (except in the
 // "valueless by exception state" -- see below). A default-constructed
 // `absl::variant` will hold the value of its first alternative type, provided
-// it is default-constructable.
+// it is default-constructible.
 //
 // In exceptional cases due to error, an `absl::variant` can hold no
 // value (known as a "valueless by exception" state), though this is not the
@@ -92,7 +92,7 @@ namespace absl {
 //   // assign it to a std::string.
 //   absl::variant<int, std::string> v = std::string("abc");
 //
-//   // A default-contructed variant will hold a value-initialized value of
+//   // A default-constructed variant will hold a value-initialized value of
 //   // the first alternative type.
 //   auto a = absl::variant<int, std::string>();   // Holds an int of value '0'.
 //