Skip to content

Commit

Permalink
Add missing semicolons when not returning value. (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Oct 6, 2023
1 parent b6e651c commit 260ccb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion harfbuzz/src/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl<'a> Blob<'a> {

// This has type hb_destroy_func_t
unsafe extern "C" fn arc_vec_blob_destroy(user_data: *mut c_void) {
drop(Arc::from_raw(user_data as *const Vec<u8>))
drop(Arc::from_raw(user_data as *const Vec<u8>));
}

let hb_blob = sys::hb_blob_create(
Expand Down
4 changes: 2 additions & 2 deletions harfbuzz/src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl Buffer {
text.len() as core::ffi::c_int,
0,
text.len() as core::ffi::c_int,
)
);
};
}

Expand All @@ -154,7 +154,7 @@ impl Buffer {
other.raw,
start as core::ffi::c_uint,
end as core::ffi::c_uint,
)
);
};
}

Expand Down

0 comments on commit 260ccb2

Please sign in to comment.