mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 11:29: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
|
||||
.iter()
|
||||
.map(|v| unsafe {
|
||||
.map(|v| {
|
||||
let id: CFString = unsafe {
|
||||
CFString::wrap_under_get_rule(msg_send![*v as *const Object, identifier])
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user