commit | 7bc3042bbf36a22a89f09ef51fe7c15a8be329ab | [log] [tgz] |
---|---|---|
author | easoncylee <easoncylee@google.com> | Fri Jul 02 11:39:18 2021 +0800 |
committer | easoncylee <easoncylee@google.com> | Mon Jul 05 09:31:50 2021 +0800 |
tree | 0d25cea036e87487b61cba91efc0d972ba234d12 | |
parent | 562f4be9d4d519e66f348b598cc39437a8716968 [diff] |
Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING The test had been changed to legacykeystore_test from ag/14968529 Bug: 192796637 Test: presubmit Change-Id: I6519af5a204b1522f6b496f349462ee574c7e21c
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.