MCPcopy Create free account
hub / github.com/astral-sh/ruff / new

Method new

crates/ruff_python_formatter/src/string/implicit.rs:36–40  ·  view source on GitHub ↗
(string: impl Into<StringLike<'a>>)

Source from the content-addressed store, hash-verified

34
35impl<'a> FormatImplicitConcatenatedString<'a> {
36 pub(crate) fn new(string: impl Into<StringLike<'a>>) -> Self {
37 Self {
38 string: string.into(),
39 }
40 }
41}
42
43impl Format<PyFormatContext<'_>> for FormatImplicitConcatenatedString<'_> {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected