mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-09-20 22:09:37 +00:00
#33 Remove unnecessary unsafe keyword
This commit is contained in:
parent
3fdd452646
commit
ddf96c10aa
|
@ -296,7 +296,7 @@ impl Backend for AvFoundation {
|
||||||
};
|
};
|
||||||
let rv = voices
|
let rv = voices
|
||||||
.iter()
|
.iter()
|
||||||
.map(|v| unsafe {
|
.map(|v| {
|
||||||
let id: CFString = unsafe {
|
let id: CFString = unsafe {
|
||||||
CFString::wrap_under_get_rule(msg_send![*v as *const Object, identifier])
|
CFString::wrap_under_get_rule(msg_send![*v as *const Object, identifier])
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user