Skip to content

Commit 260ccb2

Browse files
Add missing semicolons when not returning value. (#242)
1 parent b6e651c commit 260ccb2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

harfbuzz/src/blob.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl<'a> Blob<'a> {
7777

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

8383
let hb_blob = sys::hb_blob_create(

harfbuzz/src/buffer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl Buffer {
134134
text.len() as core::ffi::c_int,
135135
0,
136136
text.len() as core::ffi::c_int,
137-
)
137+
);
138138
};
139139
}
140140

@@ -154,7 +154,7 @@ impl Buffer {
154154
other.raw,
155155
start as core::ffi::c_uint,
156156
end as core::ffi::c_uint,
157-
)
157+
);
158158
};
159159
}
160160

0 commit comments

Comments
 (0)