Format PR 1228 with clang-format

This commit is contained in:
David Tolnay 2023-06-16 10:54:30 -07:00
parent 08c484464d
commit 88d1a59ec7
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -659,7 +659,8 @@ typename Slice<T>::iterator::difference_type
Slice<T>::iterator::operator-(const iterator &other) const noexcept {
auto diff = std::distance(static_cast<char *>(other.pos),
static_cast<char *>(this->pos));
return diff / static_cast<typename Slice<T>::iterator::difference_type>(this->stride);
return diff / static_cast<typename Slice<T>::iterator::difference_type>(
this->stride);
}
template <typename T>