mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +00:00
Remove CheckLocator abstraction (#627)
This commit is contained in:
parent
99d9aa61bf
commit
85b882fc54
23 changed files with 348 additions and 335 deletions
|
@ -100,10 +100,6 @@ pub struct Binding {
|
|||
pub used: Option<(usize, Range)>,
|
||||
}
|
||||
|
||||
pub trait CheckLocator {
|
||||
fn locate_check(&self, default: Range) -> Range;
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub enum ImportKind {
|
||||
Import,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue