MCPcopy Index your code
hub / github.com/BitVM/BitVM / FmtStack

Class FmtStack

bitvm/src/lib.rs:31–31  ·  view source on GitHub ↗

A wrapper for the stack types to print them better.

Source from the content-addressed store, hash-verified

29
30/// A wrapper for the stack types to print them better.
31pub struct FmtStack(pub Stack);
32impl fmt::Display for FmtStack {
33 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
34 let mut iter = self.0.iter_str().enumerate().peekable();

Calls

no outgoing calls

Tested by

no test coverage detected