tag | 1a9faa32d28b0ce0c4b3933e32e5dd2fb079a2dc | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Jul 15 15:23:18 2022 -0700 |
object | d9db53c3df739f7da8b49891bb0215cdc20072a4 |
Android Mainline 12.0.0 Release 121 (8641177,com.google.android.mediaprovider)
commit | d9db53c3df739f7da8b49891bb0215cdc20072a4 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 17 19:04:53 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 17 19:04:53 2021 +0000 |
tree | 61cbc999afbb44a39051d64970ec4715eba50b3e | |
parent | c1e423c8e1d800a433ed8156fe96384d3232def5 [diff] | |
parent | 788b1177692dad380cf13694e7bf948d3f451423 [diff] |
Snap for 7468467 from 788b1177692dad380cf13694e7bf948d3f451423 to mainline-mediaprovider-release Change-Id: I50d9df01090c53565b5d82d120516d9206f23cdc
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.