From 3c8b5d7587dc8ecf730ce9996c89e156e408c3ed Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 8 Sep 2020 11:09:19 -0700 Subject: Export of internal Abseil changes -- 306a7201c5d9fd2fa5bd4f50ea46a61e1f69925b by Abseil Team : Minor documentation cleanup. PiperOrigin-RevId: 330546393 -- f62a256057797d0a85715ed944760fa62e1ce7a1 by Abseil Team : Fix typo in comment abls:: -> absl:: PiperOrigin-RevId: 330286163 GitOrigin-RevId: 306a7201c5d9fd2fa5bd4f50ea46a61e1f69925b Change-Id: I9ac174396d1b0fcf9b3e0b8a2b00e088b3eb69cd --- absl/status/status.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'absl/status/status.h') diff --git a/absl/status/status.h b/absl/status/status.h index 530f5807..de10996f 100644 --- a/absl/status/status.h +++ b/absl/status/status.h @@ -20,14 +20,14 @@ // // * An `absl::Status` class for holding error handling information // * A set of canonical `absl::StatusCode` error codes, and associated -// utilities for generating and propogating status codes. +// utilities for generating and propagating status codes. // * A set of helper functions for creating status codes and checking their // values // // Within Google, `absl::Status` is the primary mechanism for gracefully // handling errors across API boundaries (and in particular across RPC // boundaries). Some of these errors may be recoverable, but others may not. -// Most functions which can produce a recoverable error should be designed to +// Most functions that can produce a recoverable error should be designed to // return an `absl::Status` (or `absl::StatusOr`). // // Example: @@ -332,7 +332,7 @@ std::ostream& operator<<(std::ostream& os, StatusCode code); // case absl::StatusCode::kPermissionDenied: // LOG(ERROR) << result; // break; -// // Propogate the error otherwise +// // Propagate the error otherwise. // default: // return true; // } -- cgit v1.2.3