From 421a74dce4c6f768bfcca94ba62b65ded1d50f7c Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Mon, 24 Apr 2023 20:13:05 +0200 Subject: Fix some spelling mistakes --- absl/flags/internal/flag.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'absl/flags') diff --git a/absl/flags/internal/flag.h b/absl/flags/internal/flag.h index ce891da1..d7edb8c6 100644 --- a/absl/flags/internal/flag.h +++ b/absl/flags/internal/flag.h @@ -121,7 +121,7 @@ inline void* Clone(FlagOpFn op, const void* obj) { flags_internal::CopyConstruct(op, obj, res); return res; } -// Returns true if parsing of input text is successfull. +// Returns true if parsing of input text is successful. inline bool Parse(FlagOpFn op, absl::string_view text, void* dst, std::string* error) { return op(FlagOp::kParse, &text, dst, error) != nullptr; @@ -139,12 +139,12 @@ inline size_t Sizeof(FlagOpFn op) { return static_cast(reinterpret_cast( op(FlagOp::kSizeof, nullptr, nullptr, nullptr))); } -// Returns fast type id coresponding to the value type. +// Returns fast type id corresponding to the value type. inline FlagFastTypeId FastTypeId(FlagOpFn op) { return reinterpret_cast( op(FlagOp::kFastTypeId, nullptr, nullptr, nullptr)); } -// Returns fast type id coresponding to the value type. +// Returns fast type id corresponding to the value type. inline const std::type_info* RuntimeTypeId(FlagOpFn op) { return reinterpret_cast( op(FlagOp::kRuntimeTypeId, nullptr, nullptr, nullptr)); -- cgit v1.2.3