Skip to content

Commit

Permalink
Remove needless T: Sized bound
Browse files Browse the repository at this point in the history
  • Loading branch information
evanrittenhouse committed Jun 15, 2023
1 parent 5bde6b0 commit ae0b684
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/ruff/src/source_kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ impl SourceKind {
}
}

pub trait CodeExtractor<T>
where
T: Sized,
{
pub trait CodeExtractor<T> {
fn extract_code(path: &Path) -> Result<T, Box<Diagnostic>>;
}

0 comments on commit ae0b684

Please sign in to comment.