Updated to latest Rust

This commit is contained in:
Sven Nilsen
2014-08-16 14:12:35 +02:00
parent b0557762c9
commit e525c41645
+1
View File
@@ -353,6 +353,7 @@ impl AudioCVT {
pub fn convert(&self, src: CVec<u8>) -> SdlResult<CVec<u8>> {
//! Convert audio data to a desired audio format.
use std::slice::Slice;
unsafe {
if (*self.raw).needed != 1 {
return Err("no convertion needed!".into_string())