MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / indent

Function indent

crates/hyperqueue/src/common/parser.rs:107–109  ·  view source on GitHub ↗
(depth: u32)

Source from the content-addressed store, hash-verified

105}
106
107fn indent(depth: u32) -> String {
108 " ".repeat((depth as usize) * 2)
109}
110
111fn format_error(error: ErrorTree<&str>, mut depth: u32, input: &str, buffer: &mut String) {
112 match error {

Callers 1

format_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected