summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/types.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/types.rs b/rust/src/types.rs
index d87978ec..9faf446e 100644
--- a/rust/src/types.rs
+++ b/rust/src/types.rs
@@ -1228,7 +1228,7 @@ impl StructureBuilder {
t: T,
name: S,
offset: u64,
- overwriteExisting: bool
+ overwrite_existing: bool
) -> &'a mut Self {
let name = name.as_bytes_with_nul();
unsafe {
@@ -1237,7 +1237,7 @@ impl StructureBuilder {
&t.into().into(),
name.as_ref().as_ptr() as _,
offset,
- overwriteExisting
+ overwrite_existing
);
}