about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-08-30T19·13-0700
committerjueminyang <jueminyang@google.com>2018-08-31T14·48-0400
commitc075ad321696fa5072e097f0a51e4fe76a6fe13e (patch)
treef3567b419cca74b46b683d9a9465ac25da987cb0
parent0f4bc966754ec6cd28d5f03467d56f1efdc598e3 (diff)
Export of internal Abseil changes.
--
9c6654a316935ab097ccf462d506c02626373f0a by Tom Manshreck <shreck@google.com>:

Update comment on CUnescape() to note on failure it leaves its output param in an unspecified state.

PiperOrigin-RevId: 210956338
GitOrigin-RevId: 9c6654a316935ab097ccf462d506c02626373f0a
Change-Id: Icf0aea66afb413a0334df27960f75387087c6629
-rw-r--r--absl/strings/escaping.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/absl/strings/escaping.h b/absl/strings/escaping.h
index beb67a27a728..296597304e6c 100644
--- a/absl/strings/escaping.h
+++ b/absl/strings/escaping.h
@@ -57,9 +57,10 @@ namespace absl {
 //     0x99).
 //
 //
-// If any errors are encountered, this function returns `false` and stores the
-// first encountered error in `error`. To disable error reporting, set `error`
-// to `nullptr` or use the overload with no error reporting below.
+// If any errors are encountered, this function returns `false`, leaving the
+// `dest` output parameter in an unspecified state, and stores the first
+// encountered error in `error`. To disable error reporting, set `error` to
+// `nullptr` or use the overload with no error reporting below.
 //
 // Example:
 //