mirror of
https://gitee.com/openharmony/third_party_rust_syn
synced 2024-11-27 18:01:03 +00:00
Name the allow_plus args
This commit is contained in:
parent
55e4a7351a
commit
ac497516e5
@ -852,14 +852,16 @@ pub mod parsing {
|
||||
#[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
|
||||
impl Parse for ReturnType {
|
||||
fn parse(input: ParseStream) -> Result<Self> {
|
||||
Self::parse(input, true)
|
||||
let allow_plus = true;
|
||||
Self::parse(input, allow_plus)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
|
||||
impl Parse for TypeTraitObject {
|
||||
fn parse(input: ParseStream) -> Result<Self> {
|
||||
Self::parse(input, true)
|
||||
let allow_plus = true;
|
||||
Self::parse(input, allow_plus)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user