bincode icon indicating copy to clipboard operation
bincode copied to clipboard

Fixint et. al. are doc hidden but probably should be able to lookup

Open gz opened this issue 3 years ago • 0 comments

The Fixint, LittleEndian types for the Configuration are marked as doc(hidden), but probably shouldn't be as there is a need to find their import path sometimes:

E.g., if one declares a config as static the compiler wants the generic annotation:

static BINCODE_CONFIG: bincode::config::Configuration<LittleEndian, Fixint> =
    bincode::config::standard()
        .with_fixed_int_encoding()
        .with_little_endian();

The current docs don't allow me to lookup where LittleEndian, Fixint are declared in order to import them, unless I find them in the source (because they're hidden).

gz avatar Jul 08 '22 06:07 gz