Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ source_code
Method
source_code
crates/ruff_python_formatter/src/context.rs:138–140 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
136
}
137
138
fn source_code(&self) -> SourceCode<'_> {
139
SourceCode::new(self.contents)
140
}
141
}
142
143
impl Debug for PyFormatContext<'_> {
Callers
1
fmt
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected