mod.rs
This file
Path
serde_derive/src/internals/mod.rs
28 lines · 395 bytes · Rust
Last changed by
Touch up PR 2879David Tolnaybefore adoption97168d3
History of this fileTake it
The walk stopped after 200 commits: lines older than 3761854 point at it.
Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 1–2why, one step back1pub mod ast;2pub mod attr;Merge pull request #2855 from dtolnay/namespanDavid Tolnaybefore adoption7f1e697
line 3why, one step back3pub mod name;Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 4–28why, one step back45mod case;6mod check;7mod ctxt;8mod receiver;9mod respan;10mod symbol;1112use syn::Type;1314pub use self::ctxt::Ctxt;15pub use self::receiver::replace_receiver;1617#[derive(Copy, Clone)]18pub enum Derive {19 Serialize,20 Deserialize,21}2223pub fn ungroup(mut ty: &Type) -> &Type {24 while let Type::Group(group) = ty {25 ty = &group.elem;26 }27 ty28}