Use the unicode-ident crate (#7212)

This commit is contained in:
Micha Reiser 2023-09-07 10:19:25 +02:00 committed by GitHub
parent 041cdb95e0
commit f1a4eb9c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 44 deletions

View file

@ -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 }

View file

@ -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};