From bec24a5aeed8249e396b420364c5db886427e13c Mon Sep 17 00:00:00 2001 From: endeavor Date: Thu, 10 Jun 2021 13:36:34 -0400 Subject: snake case for overwriteExisting --- rust/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/src') 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 ); } -- cgit v1.3.1