Skip to content

Commit 72e4334

Browse files
committed
Correct docs on textformat support
1 parent 6bfdf20 commit 72e4334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/API.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public struct Example: SwiftProtobuf.Message {
7979
func jsonString() throws -> String
8080
init(jsonString: String) throws
8181

82-
// Messages can be serialized or deserialized to Protobuf text format:
83-
func serializedText() -> String
84-
init(serializedText: String) throws
82+
// Messages can be serialized or deserialized to Protobuf TextFormat:
83+
func textFormatString() -> String
84+
init(textFormatString: String) throws
8585

8686
// These are the generated methods used internally by the
8787
// serialization and deserialization mechanisms.

0 commit comments

Comments
 (0)