Fix typos in printer.h

PiperOrigin-RevId: 597400870
pull/15382/head
Hong Shin 1 year ago committed by Copybara-Service
parent c24d9de3ce
commit 27275da1c0
  1. 2
      src/google/protobuf/io/printer.cc
  2. 6
      src/google/protobuf/io/printer.h

@ -1,5 +1,5 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// Copyright 2024 Google LLC. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at

@ -1,5 +1,5 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// Copyright 2024 Google LLC. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
@ -149,12 +149,12 @@ class AnnotationProtoCollector : public AnnotationCollector {
// A source code printer for assisting in code generation.
//
// This type implements a simple templating language for substiting variables
// This type implements a simple templating language for substituting variables
// into static, user-provided strings, and also tracks indentation
// automatically.
//
// The main entry-point for this type is the Emit function, which can be used
// thus:
// as thus:
//
// Printer p(output);
// p.Emit({{"class", my_class_name}}, R"cc(

Loading…
Cancel
Save