summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--absl/status/status.h6
-rw-r--r--absl/status/statusor.h2
2 files changed, 4 insertions, 4 deletions
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;
// }
diff --git a/absl/status/statusor.h b/absl/status/statusor.h
index ff0dab65..bdf6039d 100644
--- a/absl/status/statusor.h
+++ b/absl/status/statusor.h
@@ -98,7 +98,7 @@ class BadStatusOrAccess : public std::exception {
template <typename T>
class ABSL_MUST_USE_RESULT StatusOr;
-// abls::StatusOr<T>
+// absl::StatusOr<T>
//
// The `absl::StatusOr<T>` class template is a union of an `absl::Status` object
// and an object of type `T`. The `absl::StatusOr<T>` models an object that is