mirror of
https://github.com/bspeice/dtparse
synced 2024-11-12 17:08:09 -05:00
tokenize shouldn't be public
This commit is contained in:
parent
0d18eb524b
commit
c6feaebe71
@ -85,7 +85,7 @@ impl From<ParseInternalError> for ParseError {
|
||||
type ParseResult<I> = Result<I, ParseError>;
|
||||
type ParseIResult<I> = Result<I, ParseInternalError>;
|
||||
|
||||
pub fn tokenize(parse_string: &str) -> Vec<String> {
|
||||
pub(crate) fn tokenize(parse_string: &str) -> Vec<String> {
|
||||
let tokenizer = Tokenizer::new(parse_string);
|
||||
tokenizer.collect()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user