MCPcopy Create free account
hub / github.com/vale-cli/vale / Rust

Function Rust

internal/lint/code/rs.go:10–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func Rust() *Language {
11 return &Language{
12 Delims: regexp.MustCompile(`/{2,3}!?`),
13 Parser: rust.GetLanguage(),
14 Queries: []core.Scope{{Name: "", Expr: `(line_comment)+ @comment`, Type: ""}},
15 Padding: func(s string) int {
16 return computePadding(s, []string{"//", "//!", "///"})
17 },
18 }
19}

Callers 1

GetLanguageFromExtFunction · 0.85

Calls 1

computePaddingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…