We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90d5791 commit 46e058aCopy full SHA for 46e058a
1 file changed
rust/src/types.rs
@@ -1383,7 +1383,7 @@ impl StructureBuilder {
1383
}
1384
1385
// TODO: Document the width adjustment with alignment.
1386
- pub fn finalize(&mut self) -> Ref<Structure> {
+ pub fn finalize(&self) -> Ref<Structure> {
1387
let raw_struct_ptr = unsafe { BNFinalizeStructureBuilder(self.handle) };
1388
unsafe { Structure::ref_from_raw(raw_struct_ptr) }
1389
0 commit comments