Unverified Commit 6bbd2fc5 authored by Joshua Haberman's avatar Joshua Haberman Committed by GitHub

Merge pull request #5603 from protocolbuffers/revert-5597-patch-1

Revert "doc: apply consistent indentation to Any examples"
parents b3367aee 4e929031
...@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB"; ...@@ -64,7 +64,7 @@ option objc_class_prefix = "GPB";
// foo = any.unpack(Foo.class); // 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(...) // foo = Foo(...)
// any = Any() // any = Any()
...@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB"; ...@@ -74,7 +74,7 @@ option objc_class_prefix = "GPB";
// any.Unpack(foo) // any.Unpack(foo)
// ... // ...
// //
// Example 4: Pack and unpack a message in Go // Example 4: Pack and unpack a message in Go
// //
// foo := &pb.Foo{...} // foo := &pb.Foo{...}
// any, err := ptypes.MarshalAny(foo) // any, err := ptypes.MarshalAny(foo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment