tag | 82f6d13e4f87023e2ed02e84ae045b90e3da1b68 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Oct 20 21:28:17 2023 -0700 |
object | 6dfb63253ad6eec69b990062cad47b710fc9c50c |
aml_tet_340913030 (10606823,com.google.android.tethering)
commit | 6dfb63253ad6eec69b990062cad47b710fc9c50c | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:05:40 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 01:05:40 2023 +0000 |
tree | c82cf32a8cb69b230d81242953b02fc85185552d | |
parent | be6a93cad12bbdf669cb61f4484b5f942be10a76 [diff] | |
parent | 844f5f8fef72ff78e7940022314a04a7a6f4ef43 [diff] |
Snap for 10447354 from 844f5f8fef72ff78e7940022314a04a7a6f4ef43 to mainline-tethering-release Change-Id: Id9c7f2884a328119a983fdbf9781cc582e8329ce
Providing the features between “full” and “derive” of syn.
This crate provides the following two unique data structures.
syn_mid::ItemFn
-- A function whose body is not parsed.
fn process(n: usize) -> Result<()> { ... } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^
syn_mid::Block
-- A block whose body is not parsed.
{ ... } ^ ^
Other data structures are the same as data structures of syn. These are defined in this crate because they cannot be used in syn without “full” feature.
Add this to your Cargo.toml
:
[dependencies] syn-mid = "0.5"
Compiler support: requires rustc 1.31+
clone-impls
— Clone impls for all syntax tree types.Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.