#33 Remove unnecessary unsafe keyword

This commit is contained in:
Benjamin Klum 2022-10-16 23:15:52 +02:00
parent 3fdd452646
commit ddf96c10aa
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ impl Backend for AvFoundation {
};
let rv = voices
.iter()
.map(|v| unsafe {
.map(|v| {
let id: CFString = unsafe {
CFString::wrap_under_get_rule(msg_send![*v as *const Object, identifier])
};