From 7143e49e74857a009e16c51f6076eb197b6ccb49 Mon Sep 17 00:00:00 2001 From: Martin Blais Date: Mon, 27 Sep 2021 14:06:52 -0400 Subject: Fixed typo `constuct` to `construct` in 3 places. (#1022) --- absl/status/status.h | 2 +- absl/status/statusor.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'absl/status') diff --git a/absl/status/status.h b/absl/status/status.h index c5fe0a70..638b9ca4 100644 --- a/absl/status/status.h +++ b/absl/status/status.h @@ -346,7 +346,7 @@ inline StatusToStringMode& operator^=(StatusToStringMode& lhs, // API developers should construct their functions to return `absl::OkStatus()` // upon success, or an `absl::StatusCode` upon another type of error (e.g // an `absl::StatusCode::kInvalidArgument` error). The API provides convenience -// functions to constuct each status code. +// functions to construct each status code. // // Example: // diff --git a/absl/status/statusor.h b/absl/status/statusor.h index 7fa623fd..c051fbb3 100644 --- a/absl/status/statusor.h +++ b/absl/status/statusor.h @@ -429,8 +429,8 @@ class StatusOr : private internal_statusor::StatusOrData, // if `T` can be constructed from a `U`. Can accept move or copy constructors. // // This constructor is explicit if `U` is not convertible to `T`. To avoid - // ambiguity, this constuctor is disabled if `U` is a `StatusOr`, where `J` - // is convertible to `T`. + // ambiguity, this constructor is disabled if `U` is a `StatusOr`, where + // `J` is convertible to `T`. template < typename U = T, absl::enable_if_t< -- cgit v1.2.3