doku 0.21.1

A framework for documenting Rust data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod condensed;
mod multiline;

use super::*;

impl<'ty> Ctxt<'_, 'ty, '_> {
    pub(super) fn print_separated_enum(
        &mut self,
        tag: Tag,
        variants: &[&'ty Variant],
    ) {
        if !condensed::print(self, tag, variants) {
            multiline::print(self, tag, variants);
        }
    }
}