diff --git a/include/beman/optional26/optional.hpp b/include/beman/optional26/optional.hpp index 6abfa8f..265adca 100644 --- a/include/beman/optional26/optional.hpp +++ b/include/beman/optional26/optional.hpp @@ -67,7 +67,7 @@ class optional; // partially freestanding template inline constexpr bool std::ranges::enable_view> = true; -// Itereators for optional have life times that are not tied to the optional. +// Iterators for optional have life times that are not tied to the optional. template inline constexpr bool std::ranges::enable_borrowed_range> = std::is_reference_v; diff --git a/src/beman/optional26/tests/optional_ref.t.cpp b/src/beman/optional26/tests/optional_ref.t.cpp index e900c83..b538f57 100644 --- a/src/beman/optional26/tests/optional_ref.t.cpp +++ b/src/beman/optional26/tests/optional_ref.t.cpp @@ -822,5 +822,5 @@ TEST(OptionalRefTest, OverloadResolutionChecksDangling) { // char const* cstr = "Text"; // std::string s = cstr; // process(s); // Picks, `optional` overload -// // process(cstr); // Ambigous, but only std::optional +// // process(cstr); // Ambiguous, but only std::optional // }