Skip to content

Commit 091d317

Browse files
The callback unsafe fn doesn't need to be pub.
1 parent f6cea60 commit 091d317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl FsEvent {
268268
}
269269

270270
#[allow(unused_variables)]
271-
pub unsafe fn callback(
271+
unsafe fn callback(
272272
stream_ref: fs::FSEventStreamRef,
273273
info: *mut libc::c_void,
274274
num_events: libc::size_t, // size_t numEvents

0 commit comments

Comments
 (0)