mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
clippy: fix warnings in components/config* (#31562)
This commit is contained in:
parent
88033bd654
commit
ef3dad3a61
5 changed files with 20 additions and 21 deletions
|
@ -132,7 +132,7 @@ impl Parse for RootTypeDef {
|
|||
impl Parse for NewTypeDef {
|
||||
fn parse(input: ParseStream<'_>) -> Result<Self> {
|
||||
let content;
|
||||
#[allow(clippy::eval_order_dependence)]
|
||||
#[allow(clippy::mixed_read_write_in_expression)]
|
||||
Ok(NewTypeDef {
|
||||
_braces: braced!(content in input),
|
||||
fields: Punctuated::parse_terminated_with(&content, Field::parse)?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue