fn document_item_info(
    w: &mut Buffer,
    cx: &Context<'_>,
    item: &clean::Item,
    is_hidden: bool,
    parent: Option<&clean::Item>,
) {
    let item_infos = short_item_info(item, cx, parent);
    if !item_infos.is_empty() {
        if is_hidden {
            w.write_str("<div class=\"item-info hidden\">");
        } else {
            w.write_str("<div class=\"item-info\">");
        }
        for info in item_infos {
            w.write_str(&info);
        }
        w.write_str("</div>");
    }
}
/// Add extra information about an item such as:
///
/// * Stability
/// * Deprecated
/// * Required features (through the `doc_cfg` feature)
Add extra information about an item such as:
Stability
Deprecated
Required features (through the `doc_cfg` feature)
Add extra information about an item such as : Stability Deprecated Required features ( through the ` doc_cfg ` feature )
fn document_item_info(
    w: &mut Buffer,
    cx: &Context<'_>,
    item: &clean::Item,
    is_hidden: bool,
    parent: Option<&clean::Item>,
) {
    let item_infos = short_item_info(item, cx, parent);
    if !item_infos.is_empty() {
        if is_hidden {
            w.write_str("<div class=\"item-info hidden\">");
        } else {
            w.write_str("<div class=\"item-info\">");
        }
        for info in item_infos {
            w.write_str(&info);
        }
        w.write_str("</div>");
    }
}
fn document_item_info ( w : & mut Buffer , cx : & Context < ' _ > , item : & clean :: Item , is_hidden : bool , parent : Option < & clean :: Item > , ) { let item_infos = short_item_info ( item , cx , parent ) ; if ! item_infos . is_empty ( ) { if is_hidden { w . write_str ( " \" \" " ) ; } else { w . write_str ( " \" \" " ) ; } for info in item_infos { w . write_str ( & info ) ; } w . write_str ( " " ) ; } }
Add extra information about an item such as:
 Stability
 Deprecated
 Required features (through the `doc_cfg` feature)
Add extra information about an item such as : Stability Deprecated Required features ( through the ` doc_cfg ` feature )
w
&mut Buffer
cx
&Context<'_>
item
&clean::Item
is_hidden
bool
parent
Option<&clean::Item>
w
&mut Buffer
cx
&Context<'_>
item
&clean::Item
is_hidden
bool
parent
Option<&clean::Item>