MCPcopy Create free account
hub / github.com/borgo-lang/borgo / unit

Method unit

compiler/src/codegen.rs:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 }
98
99 fn unit() -> EmitResult {
100 EmitResult {
101 output: "".to_string(),
102 value: Some(empty_struct()),
103 }
104 }
105
106 fn to_statement(&self) -> String {
107 let ret = self.output.clone();

Callers

nothing calls this directly

Calls 1

empty_structFunction · 0.85

Tested by

no test coverage detected