Skip to content

Commit

Permalink
fix fake::Dummy codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtbuilds committed Dec 21, 2023
1 parent d83c536 commit dbbce5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libninja/src/rust/lower_mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ pub fn create_sumtype_struct(schema: &Struct, config: &ConfigFlags, spec: &HirSp
#[cfg_attr(feature = "fake", derive(fake::Dummy))]
}).unwrap_or_default();

let dummy = fake.then(|| { quote! { , Dummy } }).unwrap_or_default();
let docs = schema.docs.clone().to_rust_code();

let name = schema.name.to_rust_struct();
Expand Down

0 comments on commit dbbce5b

Please sign in to comment.