Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
This commit is contained in:
11
vendor/unicode-ident/tests/fst/mod.rs
vendored
Normal file
11
vendor/unicode-ident/tests/fst/mod.rs
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
#![allow(clippy::module_name_repetitions)]
|
||||
|
||||
pub fn xid_start_fst() -> fst::Set<&'static [u8]> {
|
||||
let data = include_bytes!("xid_start.fst");
|
||||
fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap())
|
||||
}
|
||||
|
||||
pub fn xid_continue_fst() -> fst::Set<&'static [u8]> {
|
||||
let data = include_bytes!("xid_continue.fst");
|
||||
fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap())
|
||||
}
|
Reference in New Issue
Block a user