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

Method fmt

crates/common/src/linked_list.rs:295–300  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

293
294impl<L: Link> fmt::Debug for LinkedList<L, L::Target> {
295 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
296 f.debug_struct("LinkedList")
297 .field("head", &self.head)
298 // .field("tail", &self.tail)
299 .finish()
300 }
301}
302
303impl<L: Link> Default for LinkedList<L, L::Target> {

Callers

nothing calls this directly

Calls 3

get_prevMethod · 0.80
get_nextMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected