Skip to content

Commit

Permalink
fix the formatting in pre_tokenizers.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mruoss committed Oct 10, 2023
1 parent 11dc09d commit e6287bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/ex_tokenizers/src/pre_tokenizers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use crate::util::Info;
use crate::{new_info, ExTokenizersError};
use rustler::NifTaggedEnum;
use serde::{Deserialize, Serialize};
use tokenizers::PreTokenizer;
use tokenizers::pre_tokenizers::split::SplitPattern;
use tokenizers::PreTokenizer;
use tokenizers::{processors::byte_level::ByteLevel, PreTokenizedString, PreTokenizerWrapper};

pub struct ExTokenizersPreTokenizerRef(pub PreTokenizerWrapper);
Expand Down Expand Up @@ -245,7 +245,7 @@ pub enum SplitOption {
#[derive(NifTaggedEnum)]
pub enum LocalSplitPattern {
String(String),
Regex(String)
Regex(String),
}

#[rustler::nif]
Expand Down

0 comments on commit e6287bf

Please sign in to comment.