Skip to content

Commit

Permalink
Fix mistake in voice::Audio's documentation with play_only (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
mendess authored and arqunis committed Jul 6, 2019
1 parent 26192fa commit e6c5d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voice/audio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub enum AudioType {
///
/// let handler: Handler = /* ... */;
/// let source = ffmpeg("../audio/my-favourite-song.mp3")?;
/// let safe_audio: LockedAudio = handler.play_only();
/// let safe_audio: LockedAudio = handler.play_only(source);
/// {
/// let audio_lock = safe_audio_control.clone();
/// let mut audio = audio_lock.lock();
Expand Down

0 comments on commit e6c5d41

Please sign in to comment.