Skip to main content

set_tokenizer_fallback

Function set_tokenizer_fallback 

Source
pub fn set_tokenizer_fallback(enabled: bool) -> bool
Expand description

Set the flag explicitly. Returns the previous value so callers can restore it (the TokenizerFallbackGuard RAII helper does this automatically).