Skip to content

Commit 7143e49

Browse files
authored
Fixed typo constuct to construct in 3 places. (#1022)
1 parent b1b63f7 commit 7143e49

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

absl/status/status.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ inline StatusToStringMode& operator^=(StatusToStringMode& lhs,
346346
// API developers should construct their functions to return `absl::OkStatus()`
347347
// upon success, or an `absl::StatusCode` upon another type of error (e.g
348348
// an `absl::StatusCode::kInvalidArgument` error). The API provides convenience
349-
// functions to constuct each status code.
349+
// functions to construct each status code.
350350
//
351351
// Example:
352352
//

absl/status/statusor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ class StatusOr : private internal_statusor::StatusOrData<T>,
429429
// if `T` can be constructed from a `U`. Can accept move or copy constructors.
430430
//
431431
// This constructor is explicit if `U` is not convertible to `T`. To avoid
432-
// ambiguity, this constuctor is disabled if `U` is a `StatusOr<J>`, where `J`
433-
// is convertible to `T`.
432+
// ambiguity, this constructor is disabled if `U` is a `StatusOr<J>`, where
433+
// `J` is convertible to `T`.
434434
template <
435435
typename U = T,
436436
absl::enable_if_t<

absl/strings/string_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ class string_view {
596596
}
597597

598598
private:
599-
// The constructor from std::string delegates to this constuctor.
599+
// The constructor from std::string delegates to this constructor.
600600
// See the comment on that constructor for the rationale.
601601
struct SkipCheckLengthTag {};
602602
string_view(const char* data, size_type len, SkipCheckLengthTag) noexcept

0 commit comments

Comments
 (0)