rustdoc::doctest::make

Function check_if_attr_is_complete

source
fn check_if_attr_is_complete(source: &str, edition: Edition) -> Option<AttrKind>
Expand description

Returns Some if the attribute is complete and Some(true) if it is an attribute that can be placed at the crate root.