rewrite text_format without copy-paste between singular and repeated field serialization
rewrite text_format without copy-paste between singular and repeated field serialization

stepancheg/rust-protobuf,danburkert/rust-protobuf,stepancheg/rust-protobuf,danburkert/rust-protobuf,stepancheg/rust-protobuf,danburkert/rust-protobuf