From a91995fe851f61e13f19a58652b97f8b25d71e73 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 6 Oct 2023 07:18:20 +0700 Subject: [PATCH] Add missing semicolons when not returning value. --- harfbuzz/src/blob.rs | 2 +- harfbuzz/src/buffer.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/harfbuzz/src/blob.rs b/harfbuzz/src/blob.rs index 655320dc..b5eac3fb 100644 --- a/harfbuzz/src/blob.rs +++ b/harfbuzz/src/blob.rs @@ -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)) + drop(Arc::from_raw(user_data as *const Vec)); } let hb_blob = sys::hb_blob_create( diff --git a/harfbuzz/src/buffer.rs b/harfbuzz/src/buffer.rs index 9ae963ae..377d4421 100644 --- a/harfbuzz/src/buffer.rs +++ b/harfbuzz/src/buffer.rs @@ -134,7 +134,7 @@ impl Buffer { text.len() as core::ffi::c_int, 0, text.len() as core::ffi::c_int, - ) + ); }; } @@ -154,7 +154,7 @@ impl Buffer { other.raw, start as core::ffi::c_uint, end as core::ffi::c_uint, - ) + ); }; }