Skip to content

Commit

Permalink
fix: fixes issue stepancheg#680
Browse files Browse the repository at this point in the history
  • Loading branch information
v8-overclocked committed Oct 2, 2023
1 parent adf2d3b commit 2fa2b0d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 2fa2b0d

Please sign in to comment.