From d60c3ac625461da89e198b8912bb0bda251ef980 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Tue, 2 May 2023 20:13:10 +0200 Subject: Fix spelling mistakes --- absl/synchronization/mutex.h | 2 +- absl/synchronization/mutex_method_pointer_test.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'absl/synchronization') diff --git a/absl/synchronization/mutex.h b/absl/synchronization/mutex.h index 29c049df..8bbcae88 100644 --- a/absl/synchronization/mutex.h +++ b/absl/synchronization/mutex.h @@ -273,7 +273,7 @@ class ABSL_LOCKABLE Mutex { // Aliases for `Mutex::Lock()`, `Mutex::Unlock()`, and `Mutex::TryLock()`. // // These methods may be used (along with the complementary `Reader*()` - // methods) to distingish simple exclusive `Mutex` usage (`Lock()`, + // methods) to distinguish simple exclusive `Mutex` usage (`Lock()`, // etc.) from reader/writer lock usage. void WriterLock() ABSL_EXCLUSIVE_LOCK_FUNCTION() { this->Lock(); } diff --git a/absl/synchronization/mutex_method_pointer_test.cc b/absl/synchronization/mutex_method_pointer_test.cc index 1ec801a0..f4c82d27 100644 --- a/absl/synchronization/mutex_method_pointer_test.cc +++ b/absl/synchronization/mutex_method_pointer_test.cc @@ -26,8 +26,8 @@ class IncompleteClass; #ifdef _MSC_VER // These tests verify expectations about sizes of MSVC pointers to methods. -// Pointers to methods are distinguished by whether their class hierachies -// contain single inheritance, multiple inheritance, or virtual inheritence. +// Pointers to methods are distinguished by whether their class hierarchies +// contain single inheritance, multiple inheritance, or virtual inheritance. // Declare classes of the various MSVC inheritance types. class __single_inheritance SingleInheritance{}; -- cgit v1.2.3