From 3dc91e56d07c1744f11851f34f74883b64b175a4 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Thu, 14 Apr 2022 18:20:16 +0100 Subject: [PATCH] Fix typo in CordRepRing error message Forwarded: yes Applied-Upstream: https://github.com/abseil/abseil-cpp/commit/b97a1ecda869ca8754d467a56c50275cebfeb328 The author works at Google. Upstream applied this patch as Piper revision 367481280 and exported it to GitHub; the Applied-Upstream URL above points to the exported commit. Gbp-Pq: Name cordrepring-typo.diff --- absl/strings/internal/cord_rep_ring.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/absl/strings/internal/cord_rep_ring.cc b/absl/strings/internal/cord_rep_ring.cc index 4d31d1d..39ac4e9 100644 --- a/absl/strings/internal/cord_rep_ring.cc +++ b/absl/strings/internal/cord_rep_ring.cc @@ -301,7 +301,7 @@ bool CordRepRing::IsValid(std::ostream& output) const { if (offset >= child->length || entry_length > child->length - offset) { output << "entry[" << head << "] has offset " << offset << " and entry length " << entry_length - << " which are outside of the childs length of " << child->length; + << " which are outside of the child's length of " << child->length; return false; } -- 2.30.2