Skip to main content

push_rdname_or_default

Function push_rdname_or_default 

Source
pub(crate) fn push_rdname_or_default(
    lines: &mut Vec<String>,
    tags: &[String],
    default: &str,
)
Expand description

Push #' @rdname <topic> for a scaffolding block that follows its method: the method’s page (method_page: its @describeIn destination or own @rdname), else default (the class page).