tag | 5c62ac2dc5a3ffb6ef1b7dab2108577aef30366c | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 14 14:02:24 2022 -0700 |
object | 511ac4aefe4819b11760f06fbdb71e51fc148def |
Android Mainline 12.0.0 Release 75 (8339064,com.google.android.media.swcodec)
commit | 511ac4aefe4819b11760f06fbdb71e51fc148def | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:04:53 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:04:53 2021 +0000 |
tree | 61cbc999afbb44a39051d64970ec4715eba50b3e | |
parent | c1e423c8e1d800a433ed8156fe96384d3232def5 [diff] | |
parent | 788b1177692dad380cf13694e7bf948d3f451423 [diff] |
Snap for 7474514 from 788b1177692dad380cf13694e7bf948d3f451423 to mainline-media-swcodec-release Change-Id: I010b96433749c437b0463e98c38425f7b385890c
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.