summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorendeavor <endeavor@rainbowsandpwnies.com>2021-06-10 13:36:34 -0400
committerKyle Martin <krm504@nyu.edu>2021-06-15 13:15:22 -0400
commitbec24a5aeed8249e396b420364c5db886427e13c (patch)
tree222ec736a22318a0a4a85e2be6753179f9fec071 /rust/src
parent9723520f9c1b734a101b86eb736f5807e546c6fa (diff)
snake case for overwriteExisting
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
);
}