Skip to content

Commit

Permalink
Fix: Global rsplit return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Feb 2, 2024
1 parent d1ac8e3 commit e00963e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/stringzilla/stringzilla.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ range_splits<string, matcher_find<string, exclude_overlaps_type>> split(string c
* @tparam string A string-like type, ideally a view, like StringZilla or STL `string_view`.
*/
template <typename string>
range_rmatches<string, matcher_rfind<string, exclude_overlaps_type>> rsplit(string const &h, string const &n) noexcept {
range_rsplits<string, matcher_rfind<string, exclude_overlaps_type>> rsplit(string const &h, string const &n) noexcept {
return {h, n};
}

Expand Down

0 comments on commit e00963e

Please sign in to comment.