Skip to content

Commit

Permalink
Discard changes to crates/ruff_formatter/src/lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Jun 2, 2023
1 parent 4261703 commit 6717291
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/ruff_formatter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,7 @@ impl<Context> Format<Context> for () {
///
/// That's why the `ruff_js_formatter` crate must define a new-type that implements the formatting
/// of `JsIfStatement`.
pub trait FormatRule<T, C>
where
T: ?Sized,
{
pub trait FormatRule<T, C> {
fn fmt(&self, item: &T, f: &mut Formatter<C>) -> FormatResult<()>;
}

Expand Down

0 comments on commit 6717291

Please sign in to comment.