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

Method set_docstring

crates/ruff_python_formatter/src/string/implicit.rs:279–281  ·  view source on GitHub ↗
(&mut self, is_docstring: bool)

Source from the content-addressed store, hash-verified

277 }
278
279 pub(crate) fn set_docstring(&mut self, is_docstring: bool) {
280 self.docstring = is_docstring;
281 }
282
283 pub(crate) fn string(&self) -> StringLike<'a> {
284 self.string

Callers 1

fmt_fieldsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected