Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes unnecessary copy of print_to_string_internal and incorrect prost link in readme.md #684

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ See [CHANGELOG.md](CHANGELOG.md) for a list of changes and compatility issues be

## Related projects

* [prost](https://github.com/danburkert/prost) — another protobuf implementation in Rust, also has gRPC implementation
* [prost](https://github.com/tokio-rs/prost) — another protobuf implementation in Rust, also has gRPC implementation
* [quick-protobuf](https://github.com/tafia/quick-protobuf) — alternative protobuf implementation in Rust
* [grpc-rs](https://github.com/pingcap/grpc-rs/) — another gRPC implementation for Rust
* [grpc-rust](https://github.com/stepancheg/grpc-rust) — incomplete implementation of gRPC based on this library
2 changes: 1 addition & 1 deletion protobuf/src/text_format/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub fn print_to(m: &dyn MessageDyn, buf: &mut String) {
fn print_to_string_internal(m: &dyn MessageDyn, pretty: bool) -> String {
let mut r = String::new();
print_to_internal(&MessageRef::from(m), &mut r, pretty, 0);
r.to_string()
r
}

/// Text-format
Expand Down
Loading