Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ fn find_class(classes: NamedClasses, name: &str) -> Option<Vec<(char, char)>> {
}

type Class = &'static [(char, char)];
type NamedClasses = &'static [(&'static str, &'static Class)];
type NamedClasses = &'static [(&'static str, Class)];

static ASCII_CLASSES: NamedClasses = &[
// Classes must be in alphabetical order so that bsearch works.
Expand Down
2 changes: 1 addition & 1 deletion src/re.rs
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ impl<'r, 't> Iterator for FindMatches<'r, 't> {
}
}

struct RegexSearcher<'r, 't> {
pub struct RegexSearcher<'r, 't> {
it: FindMatches<'r, 't>,
last_step_end: usize,
next_match: Option<(usize, usize)>,
Expand Down