Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
840
pub(crate) fn format_doc(sig: &str, doc: &str) -> String {
841
format!(
"{sig}\n--\n\n{doc}"
)
842
}
Callers
2
gen_impl_item
Method · 0.85
gen_module_item
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected