summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 857a0665..e492efc4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -385,10 +385,8 @@ impl Builder {
output_vector.push(prefix.clone());
}
- if let prefix = &self.options.anon_fields_prefix {
- output_vector.push("--anon-fields-prefix".into());
- output_vector.push(prefix.clone());
- }
+ output_vector.push("--anon-fields-prefix".into());
+ output_vector.push(self.options.anon_fields_prefix.clone());
if self.options.emit_ast {
output_vector.push("--emit-clang-ast".into());