[libcxx-commits] [libcxx] 7a5ecbd - [libc++][NFC] Fix typos in comments
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 25 11:37:42 PDT 2023
Author: Louis Dionne
Date: 2023-08-25T14:37:31-04:00
New Revision: 7a5ecbd8916dd60c824db164e116bb3fcb8e7240
URL: https://github.com/llvm/llvm-project/commit/7a5ecbd8916dd60c824db164e116bb3fcb8e7240
DIFF: https://github.com/llvm/llvm-project/commit/7a5ecbd8916dd60c824db164e116bb3fcb8e7240.diff
LOG: [libc++][NFC] Fix typos in comments
Added:
Modified:
libcxx/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp
libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp
index 1630931d4a853d..108644e200b30a 100644
--- a/libcxx/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp
+++ b/libcxx/test/std/utilities/expected/expected.expected/monadic/and_then.pass.cpp
@@ -170,7 +170,7 @@ static_assert(!has_and_then<const std::expected<int, std::unique_ptr<int>>&&, in
constexpr void test_val_types() {
// Test & overload
{
- // Without &qualifier on F'soperator()
+ // Without & qualifier on F's operator()
{
std::expected<int, int> e{0};
std::same_as<std::expected<int, int>> decltype(auto) val = e.and_then(LVal{});
diff --git a/libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp b/libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
index b72055fb25230f..41908c76ab6180 100644
--- a/libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
+++ b/libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp
@@ -106,7 +106,7 @@ static_assert(!has_transform<const std::expected<int, std::unique_ptr<int>>&&, i
constexpr void test_val_types() {
// Test & overload
{
- // Without &qualifier on F'soperator()
+ // Without & qualifier on F's operator()
{
std::expected<int, int> e(0);
std::same_as<std::expected<int, int>> decltype(auto) val = e.transform(LVal{});
More information about the libcxx-commits
mailing list