Skip to main content

shortcut_advisory_lines

Function shortcut_advisory_lines 

Source
pub(crate) fn shortcut_advisory_lines(
    method_name: &str,
    class_name: &str,
) -> Vec<String>
Expand description

Roxygen prose for the fast-path dispatch shortcut advisory block.

Shared between the inherent-impl S7 generator (generate_s7_r_wrapper) and the trait-impl S7 generator (miniextendr_impl_trait::r_wrappers::generate_trait_s7_r_wrapper) so both emit identical guidance. Returns #'-prefixed lines (no trailing @param / @name scaffolding — the caller appends those).