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

Method from

crates/ruff_python_parser/src/parser/mod.rs:1145–1151  ·  view source on GitHub ↗
(value: bool)

Source from the content-addressed store, hash-verified

1143
1144impl From<bool> for Parenthesized {
1145 fn from(value: bool) -> Self {
1146 if value {
1147 Parenthesized::Yes
1148 } else {
1149 Parenthesized::No
1150 }
1151 }
1152}
1153
1154impl Parenthesized {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected