MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / dedent

Method dedent

crates/codegen/src/code_indenter.rs:40–42  ·  view source on GitHub ↗
(&mut self, n: u32)

Source from the content-addressed store, hash-verified

38 self.level = self.level.saturating_add(n);
39 }
40 pub fn dedent(&mut self, n: u32) {
41 self.level = self.level.saturating_sub(n);
42 }
43 pub fn indented(&mut self, n: u32) -> IndentScope<'_, W> {
44 self.indent(n);
45 IndentScope { fmt: self }

Callers 14

generate_optional_typeFunction · 0.45
generate_result_typeFunction · 0.45
autogen_cpp_structFunction · 0.45
autogen_cpp_enumFunction · 0.45
autogen_cpp_sumFunction · 0.45
into_innerMethod · 0.45
generate_global_filesMethod · 0.45
print_index_importsFunction · 0.45
write_table_optsFunction · 0.45
write_type_builder_fieldFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected