MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / nested_parens

Function nested_parens

codegraph-kernel/src/stack.rs:201–203  ·  view source on GitHub ↗
(prefix: &str, suffix: &str)

Source from the content-addressed store, hash-verified

199 }
200
201 fn nested_parens(prefix: &str, suffix: &str) -> String {
202 format!("{prefix}{}1{}{suffix}", "(".repeat(DEPTH), ")".repeat(DEPTH))
203 }
204
205 #[test]
206 fn os_bounds_are_sane_on_this_platform() {

Calls

no outgoing calls