MCPcopy Index your code
hub / github.com/RustPython/RustPython / format_doc

Function format_doc

crates/derive-impl/src/util.rs:840–842  ·  view source on GitHub ↗
(sig: &str, doc: &str)

Source from the content-addressed store, hash-verified

838}
839
840pub(crate) fn format_doc(sig: &str, doc: &str) -> String {
841 format!("{sig}\n--\n\n{doc}")
842}

Callers 2

gen_impl_itemMethod · 0.85
gen_module_itemMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected