Trait FmtPass
Source pub trait FmtPass {
// Required method
fn run(self, ctx: FmtCtx) -> Result<()>;
}
Expand description
Common trait implemented by all Fmt passes.
Run the pass.
For consistency and simplicity, FmtPass implementations are allowed to
assume that they are being run from the root of the repo’s filesystem.