Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`ProtoStr` is a public type and it has a public method `to_str`, however `to_str` returns a private type `Utf8Error`, which triggers `private-interfaces` [1]. Exporting string::Utf8Error makes it possible for other crates to wrap it in another error type and propagate it with "?". [1] https://doc.rust-lang.org/beta/rustc/lints/listing/warn-by-default.html#private-interfaces PiperOrigin-RevId: 684477510
- Loading branch information