about summary refs log tree commit diff
path: root/absl/strings
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-02-13T06·10-0800
committerMark Barolak <mbar@google.com>2018-02-13T20·23-0500
commit055cc7dce10aa6bd7cc2ef64e0fe453fb792da62 (patch)
treeb16e0da1c6506c64b11f2a7ac78c55a90c96235c /absl/strings
parent0dc82b9d55e1616c1745d05973d40c9901903cc9 (diff)
Changes imported from Abseil "staging" branch:
  - d79c005bda08783cd496c41dbd51a5d7e520c9e2 Fix typo in ByLength example (comment). by Abseil Team <absl-team@google.com>
  - 0751d4f0e61f70e50f4771ca9843bd90895ec0bc Enable RAW_LOG on NaCl via POSIX write(), which it suppor... by Abseil Team <absl-team@google.com>
  - 4a63f87b9b1c9d738da21fc0ffa638876a12facf Remove use of assert() in .h and .inc files to reduce cha... by Alex Strelnikov <strel@google.com>

GitOrigin-RevId: d79c005bda08783cd496c41dbd51a5d7e520c9e2
Change-Id: I0c5d064faa1b8e6b703d388af2b8957cc906dd7f
Diffstat (limited to 'absl/strings')
-rw-r--r--absl/strings/str_split.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/strings/str_split.h b/absl/strings/str_split.h
index 5b3d6a8a91ea..713fdd0e6757 100644
--- a/absl/strings/str_split.h
+++ b/absl/strings/str_split.h
@@ -208,7 +208,7 @@ class ByAnyChar {
 //   using absl::ByLength;
 //   std::vector<std::string> v = absl::StrSplit("12345", ByLength(2));
 //
-//   // v[0] == "12", v[1] == "35", v[2] == "5"
+//   // v[0] == "12", v[1] == "34", v[2] == "5"
 class ByLength {
  public:
   explicit ByLength(ptrdiff_t length);