tag | d7621b0103614866a2b990aaf9c2037b7fb2da31 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Sep 20 02:20:47 2022 -0700 |
object | ca67dc0f7410b75ed399d9d8c1d2d0cc14aba6a3 |
Android Mainline Module Release 8880024,com.google.android.tethering
commit | ca67dc0f7410b75ed399d9d8c1d2d0cc14aba6a3 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:09:49 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue May 10 07:09:49 2022 +0000 |
tree | 2f638b0af631bc4d9825f4ea5d5afa19e188b68a | |
parent | a594ce0e56aa90244c98f5391690d23e931a61ac [diff] | |
parent | bd8e405fbb6cfa58acb6dfcaaa72ca7e1f44b594 [diff] |
Snap for 8564071 from bd8e405fbb6cfa58acb6dfcaaa72ca7e1f44b594 to mainline-tethering-release Change-Id: Iee2c834c5c2de6f1e34dbd377b22b18c621f078a
Determine if a char
is a valid identifier for a parser and/or lexer according to Unicode Standard Annex #31 rules.
extern crate unicode_xid; use unicode_xid::UnicodeXID; fn main() { let ch = 'a'; println!("Is {} a valid start of an identifier? {}", ch, UnicodeXID::is_xid_start(ch)); }
unicode-xid supports a no_std
feature. This eliminates dependence on std, and instead uses equivalent functions from core.