Remove unnecessary unsafe block (#33109)

Signed-off-by: Taym <haddadi.taym@gmail.com>
This commit is contained in:
Taym Haddadi 2024-08-18 18:18:28 +02:00 committed by GitHub
parent a24e92778a
commit a50e6a503e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 13 deletions

View file

@ -278,9 +278,7 @@ impl AudioBufferMethods for AudioBuffer {
}
}
unsafe {
destination.update(&dest);
}
destination.update(&dest);
Ok(())
}