summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Jonathan Cohen <cohenjon@google.com>2018-04-20 17:02:04 -0400
committerGravatar GitHub <noreply@github.com>2018-04-20 17:02:04 -0400
commit94ce52d46c171683b1ee22d14277a6d3bdfd7c4c (patch)
treefd22052ad9405ebe67a92a9bd66a4201c07e3dcc /absl/base
parentfaf0a1b90374eab44e8956973b0e13febdcf3377 (diff)
parent08760addbe9732d8ee889328229781313baf6e96 (diff)
Merge pull request #101 from waywardmonkeys/fix-typos
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 3eb24abf..de33120f 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