clickhouse-arrow-derive 0.1.2

Procedural macros for the clickhouse-arrow crate
Documentation
1
2
3
4
5
6
7
8
use syn::Type;

pub fn ungroup(mut ty: &Type) -> &Type {
    while let Type::Group(group) = ty {
        ty = &group.elem;
    }
    ty
}