Skip to content

Conversation

@JohnTitor
Copy link
Member

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.

@jtgeibel
Copy link
Member

Awesome!

@bors r+

@bors
Copy link
Contributor

bors commented Jul 21, 2020

📌 Commit 796e183 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Jul 21, 2020

⌛ Testing commit 796e183 with merge 88fba22...

@bors
Copy link
Contributor

bors commented Jul 21, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 88fba22 to master...

@bors bors merged commit 88fba22 into rust-lang:master Jul 21, 2020
@JohnTitor JohnTitor deleted the matches branch July 21, 2020 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants