diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) | |
download | ydb-a5950576e397b1909261050b8c7da16db58f10b1.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h')
-rw-r--r-- | contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h index 4709abc93f..133eae9c63 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.h @@ -18,26 +18,26 @@ // ----------------------------------------------------------------------------- // // This file contains simple utilities for performing string matching checks. -// All of these function parameters are specified as `y_absl::string_view`, -// meaning that these functions can accept `TString`, `y_absl::string_view` or +// All of these function parameters are specified as `y_absl::string_view`, +// meaning that these functions can accept `TString`, `y_absl::string_view` or // NUL-terminated C-style strings. // // Examples: -// TString s = "foo"; -// y_absl::string_view sv = "f"; -// assert(y_absl::StrContains(s, sv)); +// TString s = "foo"; +// y_absl::string_view sv = "f"; +// assert(y_absl::StrContains(s, sv)); // // Note: The order of parameters in these functions is designed to mimic the // order an equivalent member function would exhibit; -// e.g. `s.Contains(x)` ==> `y_absl::StrContains(s, x). +// e.g. `s.Contains(x)` ==> `y_absl::StrContains(s, x). #ifndef ABSL_STRINGS_MATCH_H_ #define ABSL_STRINGS_MATCH_H_ #include <cstring> -#include "y_absl/strings/string_view.h" +#include "y_absl/strings/string_view.h" -namespace y_absl { +namespace y_absl { ABSL_NAMESPACE_BEGIN // StrContains() @@ -95,6 +95,6 @@ bool EndsWithIgnoreCase(y_absl::string_view text, y_absl::string_view suffix) noexcept; ABSL_NAMESPACE_END -} // namespace y_absl +} // namespace y_absl #endif // ABSL_STRINGS_MATCH_H_ |