From caae4dd0f8343efb879369dcd08a2b18aae59f3b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 22 Feb 2024 06:06:29 +0700 Subject: [PATCH] Fix some typos. (#1146) --- README.md | 2 +- docs/headers.md | 2 +- tests/span_compatibility_tests.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe01aad..6f1c499 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ target_link_libraries(foobar PRIVATE Microsoft.GSL::GSL) ### FetchContent -If you are using CMake version 3.11+ you can use the offical [FetchContent module](https://cmake.org/cmake/help/latest/module/FetchContent.html). +If you are using CMake version 3.11+ you can use the official [FetchContent module](https://cmake.org/cmake/help/latest/module/FetchContent.html). This allows you to easily incorporate GSL into your project. ```cmake diff --git a/docs/headers.md b/docs/headers.md index 310b474..ae1c3d6 100644 --- a/docs/headers.md +++ b/docs/headers.md @@ -804,7 +804,7 @@ void operator=(const final_action&) = delete; void operator=(final_action&&) = delete; ``` -Move construction is allowed. Copy construction is deleted. Copy and move assignment are also explicitely deleted. +Move construction is allowed. Copy construction is deleted. Copy and move assignment are also explicitly deleted. #### Non-member functions ```cpp diff --git a/tests/span_compatibility_tests.cpp b/tests/span_compatibility_tests.cpp index 95d8223..c6e4b02 100644 --- a/tests/span_compatibility_tests.cpp +++ b/tests/span_compatibility_tests.cpp @@ -519,7 +519,7 @@ TEST(span_compatibility_tests, assertion_tests) // assertions for span's definition static_assert(std::is_same::value, - "gsl::dynamic_extent must be respresented as std::size_t"); + "gsl::dynamic_extent must be represented as std::size_t"); static_assert(gsl::dynamic_extent == static_cast(-1), "gsl::dynamic_extent must be defined as the max value of std::size_t");