MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / indent_pop

Method indent_pop

cranelift/srcgen/src/lib.rs:111–114  ·  view source on GitHub ↗

Decrease indentation by one level.

(&mut self)

Source from the content-addressed store, hash-verified

109
110 /// Decrease indentation by one level.
111 pub fn indent_pop(&mut self) {
112 assert!(self.indent > 0, "Already at top level indentation");
113 self.indent -= 1;
114 }
115
116 /// Increase indentation level for the duration of `f`.
117 pub fn indent<T, F: FnOnce(&mut Formatter) -> T>(&mut self, f: F) -> T {

Callers 4

indentMethod · 0.80
get_indent_worksFunction · 0.80
gen_numerics_isleFunction · 0.80

Calls

no outgoing calls

Tested by 2

get_indent_worksFunction · 0.64