Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ format
Method
format
crates/ruff_python_formatter/src/shared_traits.rs:26–28 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
24
Self: 'a;
25
26
fn format(&self) -> Self::Format<'_> {
27
AsFormat::format(&**self)
28
}
29
}
30
31
/// Used to convert this object into an object that can be formatted.
Callers
nothing calls this directly
Calls
1
format
Function · 0.50
Tested by
no test coverage detected