diff options
Diffstat (limited to 'absl/synchronization')
-rw-r--r-- | absl/synchronization/internal/graphcycles.h | 2 | ||||
-rw-r--r-- | absl/synchronization/internal/waiter.cc | 2 |
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"); |