浏览代码

Add missing semicolon.

Somehow syntex allows this, so it was missed in the previous commit.
Paul Lietar 9 年之前
父节点
当前提交
60db12ee9e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/player.rs

+ 2 - 2
src/player.rs

@@ -217,7 +217,7 @@ impl PlayerInternal {
                         AudioDecrypt::new(key,
                         self.session.audio_file(file_id)), 0xa7)).unwrap());
 
-                    vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap()
+                    vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap();
 
                     self.update(|state| {
                         state.status = if play {
@@ -234,7 +234,7 @@ impl PlayerInternal {
                     println!("Load Done");
                 }
                 Some(PlayerCommand::Seek(position)) => {
-                    vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap()
+                    vorbis_time_seek_ms(decoder.as_mut().unwrap(), position as i64).unwrap();
                     self.update(|state| {
                         state.position_ms = vorbis_time_tell_ms(decoder.as_mut().unwrap()).unwrap() as u32;
                         state.position_measured_at = util::now_ms();