Skip to content

Commit 9660172

Browse files
committed
Add VNImageRequestHandler::perform as safe function
1 parent 179ffdd commit 9660172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vision/VNRequestHandler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extern_methods!(
6464

6565
#[cfg(feature = "VNRequest")]
6666
#[method(performRequests:error:_)]
67-
pub unsafe fn performRequests_error(
67+
pub fn performRequests_error(
6868
&self,
6969
requests: &NSArray<VNRequest>,
7070
) -> Result<(), Retained<NSError>>;

0 commit comments

Comments
 (0)