about summary refs log tree commit diff
path: root/absl/synchronization
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/synchronization
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/synchronization')
-rw-r--r--absl/synchronization/internal/graphcycles.h2
-rw-r--r--absl/synchronization/internal/waiter.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/absl/synchronization/internal/graphcycles.h b/absl/synchronization/internal/graphcycles.h
index e5bde007c768..e08dc09df278 100644
--- a/absl/synchronization/internal/graphcycles.h
+++ b/absl/synchronization/internal/graphcycles.h
@@ -36,7 +36,7 @@
 //   InsertEdge() is very fast when the edge already exists, and reasonably fast
 //   otherwise.
 //   FindPath() is linear in the size of the graph.
-// The current implemenation uses O(|V|+|E|) space.
+// The current implementation uses O(|V|+|E|) space.
 
 #include <cstdint>
 
diff --git a/absl/synchronization/internal/waiter.cc b/absl/synchronization/internal/waiter.cc
index f17ea56fdda3..961457809f12 100644
--- a/absl/synchronization/internal/waiter.cc
+++ b/absl/synchronization/internal/waiter.cc
@@ -355,7 +355,7 @@ class Waiter::WinHelper {
                 "ConditionVariableStorage does not have the same "
                 "alignment as CONDITION_VARIABLE");
 
-  // The SRWLOCK and CONDITION_VARIABLE types must be trivially constuctible
+  // The SRWLOCK and CONDITION_VARIABLE types must be trivially constructible
   // and destructible because we never call their constructors or destructors.
   static_assert(std::is_trivially_constructible<SRWLOCK>::value,
                 "The SRWLOCK type must be trivially constructible");