Skip to content

Commit

Permalink
Update dot_remover.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kile authored Mar 4, 2024
1 parent 9daf7aa commit d130672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/dot_remover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl std::fmt::Display for StrOrChar<&str> {
}
}

const DOTS: [StrOrChar<&str>; 20] = [
const DOTS: [StrOrChar<&str>; 27] = [
StrOrChar::Char('.'),
StrOrChar::Char('·'),
StrOrChar::Char('․'),
Expand Down Expand Up @@ -84,7 +84,7 @@ const DOTS: [StrOrChar<&str>; 20] = [
];

fn remove_whitespace_from_end(text: &str, dot: &StrOrChar<&str>) -> String {
const WHITESPACE: [StrOrChar<&str>; 18] = [
const WHITESPACE: [StrOrChar<&str>; 20] = [
StrOrChar::Char('\u{2000}'),
StrOrChar::Char('\u{2001}'),
StrOrChar::Char('\u{2003}'),
Expand Down

0 comments on commit d130672

Please sign in to comment.