MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / deindent

Method deindent

crates/core/src/source.rs:101–103  ·  view source on GitHub ↗
(&mut self, amt: usize)

Source from the content-addressed store, hash-verified

99 }
100
101 pub fn deindent(&mut self, amt: usize) {
102 self.indent -= amt;
103 }
104
105 /// Set the indentation level, and return the old level.
106 pub fn set_indent(&mut self, amt: usize) -> usize {

Callers 7

type_recordMethod · 0.80
type_flagsMethod · 0.80
type_variantMethod · 0.80
type_enumMethod · 0.80
write_moon_pkgMethod · 0.80
indentFunction · 0.80
finishMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected