Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a8846e + bbb3733 commit 8519389Copy full SHA for 8519389
src/restriction_level.rs
@@ -48,7 +48,7 @@ impl RestrictionLevelDetection for &'_ str {
48
if !GeneralSecurityProfile::identifier_allowed(ch) {
49
return RestrictionLevel::Unrestricted;
50
}
51
- if ch.is_ascii() {
+ if !ch.is_ascii() {
52
ascii_only = false;
53
54
let ch_set = ch.into();
0 commit comments