Skip to main content

METHOD_ANCHOR_PREFIXES

Constant METHOD_ANCHOR_PREFIXES 

Source
pub const METHOD_ANCHOR_PREFIXES: &[&str];
Expand description

Anchor id prefixes for an associated function, in probe order.

Both can coexist on one trait page, so probe order — never document order — decides the winner. The split is upstream behaviour: rustc keeps tests/rustdoc-html/anchors/anchor-id-trait-tymethod-28478.rs as a guard.