1
2
3
4
5
6
7
8
9
10
11
/// This is an experimental API.
///
/// The docbox will indicate the function is experimental. It will also appear semi-transparent on
/// module lists.
#[doc_item::docbox(
    content = "<span class='emoji'>🔬</span> This is an experimental API.",
    class = "unstable"
)]
#[doc_item::short_docbox(content = "Experimental", class = "unstable")]
#[doc_item::semi_transparent]
pub fn foo() {}