Fix spelling

pull/9461/head
Deanna Garcia 3 years ago
parent fc9fb726f1
commit e56d6936f3
  1. 2
      src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc
  2. 2
      src/google/protobuf/compiler/main.cc

@ -326,7 +326,7 @@ TailCallTableInfo::TailCallTableInfo(
const EnumDescriptor* enum_type = field->enum_type();
GOOGLE_CHECK_GT(enum_type->value_count(), 0) << enum_type->DebugString();
// Check if the enum values are a single, continguous range.
// Check if the enum values are a single, contiguous range.
std::vector<int> enum_values;
for (int i = 0, N = enum_type->value_count(); i < N; ++i) {
enum_values.push_back(enum_type->value(i)->number());

@ -77,7 +77,7 @@ int ProtobufMain(int argc, char* argv[]) {
python::Generator py_generator;
cli.RegisterGenerator("--python_out", "--python_opt", &py_generator,
"Generate Python source file.");
// Pyton pyi
// Python pyi
python::PyiGenerator pyi_generator;
cli.RegisterGenerator("--pyi_out", &pyi_generator,
"Generate python pyi stub.");

Loading…
Cancel
Save