From 421a74dce4c6f768bfcca94ba62b65ded1d50f7c Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Mon, 24 Apr 2023 20:13:05 +0200 Subject: Fix some spelling mistakes --- absl/base/attributes.h | 2 +- absl/base/internal/exception_safety_testing.h | 2 +- absl/base/internal/thread_identity_test.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'absl/base') diff --git a/absl/base/attributes.h b/absl/base/attributes.h index df2c458f..8e9fa77e 100644 --- a/absl/base/attributes.h +++ b/absl/base/attributes.h @@ -331,7 +331,7 @@ // This functionality is supported by GNU linker. #ifndef ABSL_ATTRIBUTE_SECTION_VARIABLE #ifdef _AIX -// __attribute__((section(#name))) on AIX is achived by using the `.csect` psudo +// __attribute__((section(#name))) on AIX is achieved by using the `.csect` psudo // op which includes an additional integer as part of its syntax indcating // alignment. If data fall under different alignments then you might get a // compilation error indicating a `Section type conflict`. diff --git a/absl/base/internal/exception_safety_testing.h b/absl/base/internal/exception_safety_testing.h index 77a5aec6..c1061544 100644 --- a/absl/base/internal/exception_safety_testing.h +++ b/absl/base/internal/exception_safety_testing.h @@ -946,7 +946,7 @@ class ExceptionSafetyTest { * `std::unique_ptr operator()() const` where T is the type being tested. * It is used for reliably creating identical T instances to test on. * - * - Operation: The operation object (passsed in via tester.WithOperation(...) + * - Operation: The operation object (passed in via tester.WithOperation(...) * or tester.Test(...)) must be invocable with the signature * `void operator()(T*) const` where T is the type being tested. It is used * for performing steps on a T instance that may throw and that need to be diff --git a/absl/base/internal/thread_identity_test.cc b/absl/base/internal/thread_identity_test.cc index 46a6f743..5f17553e 100644 --- a/absl/base/internal/thread_identity_test.cc +++ b/absl/base/internal/thread_identity_test.cc @@ -95,7 +95,7 @@ TEST(ThreadIdentityTest, BasicIdentityWorksThreaded) { } TEST(ThreadIdentityTest, ReusedThreadIdentityMutexTest) { - // This test repeatly creates and joins a series of threads, each of + // This test repeatedly creates and joins a series of threads, each of // which acquires and releases shared Mutex locks. This verifies // Mutex operations work correctly under a reused // ThreadIdentity. Note that the most likely failure mode of this -- cgit v1.2.3