MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / bracket

Function bracket

src/sql-pretty/src/util.rs:75–82  ·  view source on GitHub ↗
(left: A, d: RcDoc, right: B)

Source from the content-addressed store, hash-verified

73}
74
75pub(crate) fn bracket<A: Into<String>, B: Into<String>>(left: A, d: RcDoc, right: B) -> RcDoc {
76 bracket_doc(
77 RcDoc::text(left.into()),
78 d,
79 RcDoc::text(right.into()),
80 RcDoc::line_(),
81 )
82}
83
84pub(crate) fn bracket_doc<'a>(
85 left: RcDoc<'a>,

Callers 15

doc_create_sourceMethod · 0.85
doc_webhook_checkMethod · 0.85
doc_create_tableMethod · 0.85
doc_create_connectionMethod · 0.85
doc_create_sinkMethod · 0.85
doc_create_subsourceMethod · 0.85
doc_create_clusterMethod · 0.85
doc_create_indexMethod · 0.85

Calls 1

bracket_docFunction · 0.85

Tested by

no test coverage detected