mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 17:13:48 +00:00
6572874965
As a side-effect of the Path changes, we are now a bit more aggressive about normalising paths.
52 lines
1.0 KiB
Rust
52 lines
1.0 KiB
Rust
pub(super) enum WriteState<D> {
|
|
WriteId {
|
|
id: U64Writer,
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteSize {
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteData(Writer<D>),
|
|
}
|
|
|
|
pub(crate) enum WriteState<D> {
|
|
WriteId {
|
|
id: U64Writer,
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteSize {
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteData(Writer<D>),
|
|
}
|
|
|
|
pub(global::path::to::some_mod) enum WriteState<D> {
|
|
WriteId {
|
|
id: U64Writer,
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteSize {
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteData(Writer<D>),
|
|
}
|
|
|
|
pub(local::path::to::some_mod) enum WriteState<D> {
|
|
WriteId {
|
|
id: U64Writer,
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteSize {
|
|
size: U64Writer,
|
|
payload: Option<Writer<D>>,
|
|
},
|
|
WriteData(Writer<D>),
|
|
}
|