Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the comment of TextFormat::Printer::RegisterMessagePrinter tha…
…t the method takes ownerhip of the `printer` pointer. The implementation takes ownership of the `printer`. But, the current method signature does not make it clear whether ownership is taken. In fact, since it's a `const *`, it could be easily confused by the callers as _not_ taking ownership. All other `Register...Printer()` methods have comments about taking ownership. This is the only one that was left out. PiperOrigin-RevId: 652584898
- Loading branch information