summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Bruce Mitchener <bruce.mitchener@gmail.com>2018-04-20 01:11:44 +0700
committerGravatar Bruce Mitchener <bruce.mitchener@gmail.com>2018-04-20 01:11:44 +0700
commit08760addbe9732d8ee889328229781313baf6e96 (patch)
tree2bc864ece816fdebc00b124741a01472b764b55f /absl/base
parent5b535401665cc6aa96d54a5c9b0901153d97210f (diff)
Fix some typos.
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/casts.h2
-rw-r--r--absl/base/config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/absl/base/casts.h b/absl/base/casts.h
index 3096d4c1..8bd5264d 100644
--- a/absl/base/casts.h
+++ b/absl/base/casts.h
@@ -123,7 +123,7 @@ inline To implicit_cast(typename absl::internal::identity_t<To> to) {
//
// Such casting results in type punning: holding an object in memory of one type
// and reading its bits back using a different type. A `bit_cast()` avoids this
-// issue by implementating its casts using `memcpy()`, which avoids introducing
+// issue by implementing its casts using `memcpy()`, which avoids introducing
// this undefined behavior.
template <typename Dest, typename Source>
inline Dest bit_cast(const Source& source) {
diff --git a/absl/base/config.h b/absl/base/config.h
index 500bc8c8..93855957 100644
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -299,7 +299,7 @@
// family of functions as standardized in POSIX.1-2001.
//
// Note: While Apple provides <semaphore.h> for both iOS and macOS, it is
-// explicity deprecated and will cause build failures if enabled for those
+// explicitly deprecated and will cause build failures if enabled for those
// platforms. We side-step the issue by not defining it here for Apple
// platforms.
#ifdef ABSL_HAVE_SEMAPHORE_H