mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Change Rust prelude to bring in traits as _
We already renamed many of these to avoid collisions with names like `AsMut` to be `ProtoAsMut`, I think its even better to throw away the name to only bring in the traits for people to be able to use the behavior. PiperOrigin-RevId: 805477478
This commit is contained in:
parent
b64e6c4d56
commit
c3f7e8ded5
1 changed files with 2 additions and 4 deletions
|
|
@ -17,8 +17,6 @@
|
|||
//! `protobuf::` crate instead.
|
||||
|
||||
pub use crate::{
|
||||
proto, AsMut as ProtoAsMut, AsView as ProtoAsView, Clear as ProtoClear,
|
||||
ClearAndParse as ProtoClearAndParse, CopyFrom as ProtoCopyFrom, IntoMut as ProtoIntoMut,
|
||||
IntoView as ProtoIntoView, MergeFrom as ProtoMergeFrom, Parse as ProtoParse,
|
||||
Serialize as ProtoSerialize, TakeFrom as ProtoTakeFrom,
|
||||
proto, AsMut as _, AsView as _, Clear as _, ClearAndParse as _, CopyFrom as _, IntoMut as _,
|
||||
IntoView as _, MergeFrom as _, Parse as _, Serialize as _, TakeFrom as _,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue