You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #2645 - JohnTitor:matches, r=jtgeibel
Use `matches!` macro and rename sanitize function
Use matches macro which is stabilized in 1.42.0. And rename it from `whitelist` to `is_allowed_char` since it's ambiguous to return true when an unexpected character comes in, even though it's "whitelist".
r? @jtgeibel just in case but feel free to r=anyone as it's a quite simple change.
0 commit comments