mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-25 22:29:02 +00:00
Use the unicode-ident crate (#7212)
This commit is contained in:
parent
041cdb95e0
commit
f1a4eb9c28
8 changed files with 10 additions and 44 deletions
|
|
@ -18,7 +18,7 @@ ruff_source_file = { path = "../ruff_source_file" }
|
|||
|
||||
memchr = { workspace = true }
|
||||
smallvec = { workspace = true }
|
||||
unic-ucd-ident = { workspace = true }
|
||||
unicode-ident = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
insta = { workspace = true }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
use memchr::{memchr2, memchr3, memrchr3_iter};
|
||||
use unic_ucd_ident::{is_xid_continue, is_xid_start};
|
||||
use unicode_ident::{is_xid_continue, is_xid_start};
|
||||
|
||||
use ruff_text_size::{Ranged, TextLen, TextRange, TextSize};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue