fix some typos

This commit is contained in:
Carson Radtke 2024-11-09 14:42:55 -06:00
parent 898db79600
commit b8bfc194cf

View File

@ -141,8 +141,8 @@ namespace details
constexpr span_iterator(pointer begin, pointer end, pointer current)
: begin_(begin), end_(end), current_(current)
{
Expects(begin && current && end);
Expects(begin <= current && current <= end);
Expects(begin_ && current_ && end_);
Expects(begin_ <= current_ && current <= end_);
}
constexpr operator span_iterator<const Type>() const noexcept
@ -180,7 +180,7 @@ namespace details
constexpr span_iterator& operator--() noexcept
{
Expects(begin != current_);
Expects(begin_ != current_);
--current_;
return *this;
}