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

Method fmt

crates/compiler-core/src/bytecode.rs:571–575  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

569
570impl fmt::Debug for CodeUnits {
571 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
572 // SAFETY: Debug formatting doesn't race with replace_op
573 let inner = unsafe { &*self.units.get() };
574 f.debug_tuple("CodeUnits").field(inner).finish()
575 }
576}
577
578impl TryFrom<&[u8]> for CodeUnits {

Callers

nothing calls this directly

Calls 6

display_innerMethod · 0.80
fmt_displayMethod · 0.80
getMethod · 0.45
finishMethod · 0.45
mapMethod · 0.45
borrow_constantMethod · 0.45

Tested by

no test coverage detected