Debian Codegraph @

.cargo/vendor/unicode-ident/tests/fst/mod.rs

raw
1 #![allow(clippy::module_name_repetitions)]
2
3 pub fn xid_start_fst() -> fst::Set<&'static [u8]> {
4 let data = include_bytes!("xid_start.fst");
5 fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap())
6 }
7
8 pub fn xid_continue_fst() -> fst::Set<&'static [u8]> {
9 let data = include_bytes!("xid_continue.fst");
10 fst::Set::from(fst::raw::Fst::new(data.as_slice()).unwrap())
11 }