summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Martin Blais <blais@furius.ca>2021-09-27 14:06:52 -0400
committerGravatar GitHub <noreply@github.com>2021-09-27 14:06:52 -0400
commit7143e49e74857a009e16c51f6076eb197b6ccb49 (patch)
treeff6a49227d101786c741e4d3619af8b36d2d2e0e /absl
parentb1b63f7aa8467ff5c2fc81231f6ec69fe93ca3b0 (diff)
Fixed typo `constuct` to `construct` in 3 places. (#1022)
Diffstat (limited to 'absl')
-rw-r--r--absl/status/status.h2
-rw-r--r--absl/status/statusor.h4
-rw-r--r--absl/strings/string_view.h2
3 files changed, 4 insertions, 4 deletions
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<T>,
// 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<J>`, where `J`
- // is convertible to `T`.
+ // ambiguity, this constructor is disabled if `U` is a `StatusOr<J>`, where
+ // `J` is convertible to `T`.
template <
typename U = T,
absl::enable_if_t<
diff --git a/absl/strings/string_view.h b/absl/strings/string_view.h
index ea760526..a4c9a652 100644
--- a/absl/strings/string_view.h
+++ b/absl/strings/string_view.h
@@ -596,7 +596,7 @@ class string_view {
}
private:
- // The constructor from std::string delegates to this constuctor.
+ // The constructor from std::string delegates to this constructor.
// See the comment on that constructor for the rationale.
struct SkipCheckLengthTag {};
string_view(const char* data, size_type len, SkipCheckLengthTag) noexcept