Commit 7143e49e by Martin Blais Committed by GitHub

Fixed typo `constuct` to `construct` in 3 places. (#1022)

parent b1b63f7a
...@@ -346,7 +346,7 @@ inline StatusToStringMode& operator^=(StatusToStringMode& lhs, ...@@ -346,7 +346,7 @@ inline StatusToStringMode& operator^=(StatusToStringMode& lhs,
// API developers should construct their functions to return `absl::OkStatus()` // API developers should construct their functions to return `absl::OkStatus()`
// upon success, or an `absl::StatusCode` upon another type of error (e.g // upon success, or an `absl::StatusCode` upon another type of error (e.g
// an `absl::StatusCode::kInvalidArgument` error). The API provides convenience // an `absl::StatusCode::kInvalidArgument` error). The API provides convenience
// functions to constuct each status code. // functions to construct each status code.
// //
// Example: // Example:
// //
......
...@@ -429,8 +429,8 @@ class StatusOr : private internal_statusor::StatusOrData<T>, ...@@ -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. // 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 // 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` // ambiguity, this constructor is disabled if `U` is a `StatusOr<J>`, where
// is convertible to `T`. // `J` is convertible to `T`.
template < template <
typename U = T, typename U = T,
absl::enable_if_t< absl::enable_if_t<
......
...@@ -596,7 +596,7 @@ class string_view { ...@@ -596,7 +596,7 @@ class string_view {
} }
private: 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. // See the comment on that constructor for the rationale.
struct SkipCheckLengthTag {}; struct SkipCheckLengthTag {};
string_view(const char* data, size_type len, SkipCheckLengthTag) noexcept string_view(const char* data, size_type len, SkipCheckLengthTag) noexcept
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment