doc: apply consistent indentation to Any examples (#5597)

pull/5603/head
bitspill 6 years ago committed by Paul Yang
parent 37a0ab7d83
commit b3367aee14
  1. 4
      src/google/protobuf/any.proto

@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
// foo = any.unpack(Foo.class);
// }
//
// Example 3: Pack and unpack a message in Python.
// Example 3: Pack and unpack a message in Python.
//
// foo = Foo(...)
// any = Any()
@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
// any.Unpack(foo)
// ...
//
// Example 4: Pack and unpack a message in Go
// Example 4: Pack and unpack a message in Go
//
// foo := &pb.Foo{...}
// any, err := ptypes.MarshalAny(foo)

Loading…
Cancel
Save