pub fn rewrite_link_target(target: &str) -> Option<String>Expand description
Rewrites one documentation link target while rejecting unsafe schemes.
§Parameters
target: Input consumed bycrate::docs::rewrite_link_target.
§Returns
Returns Some when crate::docs::rewrite_link_target can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::docs::rewrite_link_target.
§Examples
ⓘ
let _result = pharos_runtime_docs::docs::rewrite_link_target("/");§Related
crate::docsfor adjacent helpers that share the same runtime surface.