Fix up comment to use public api.

PiperOrigin-RevId: 544716296
pull/13191/head
Thomas Van Lenten 2 years ago committed by Copybara-Service
parent cea4551466
commit fb2523f51e
  1. 5
      src/google/protobuf/io/printer.h

@ -219,9 +219,8 @@ class AnnotationProtoCollector : public AnnotationCollector {
// //
// Substitutions can be configured to "chomp" a single character after them, to // Substitutions can be configured to "chomp" a single character after them, to
// help make indentation work out. This can be configured by passing a // help make indentation work out. This can be configured by passing a
// two-argument io::Printer::Value into Emit's substitution map: // io::Printer::Sub().WithSuffix() into Emit's substitution map:
// // p.Emit({io::Printer::Sub("var", var_decl).WithSuffix(";")}, R"cc(
// p.Emit({{"var", io::Printer::Value{var_decl, ";"}}}, R"cc(
// class $class$ { // class $class$ {
// public: // public:
// $var$; // $var$;

Loading…
Cancel
Save