Skip to content

Commit

Permalink
Docs: Fix wrong docstring for Track::volume (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
btoschek authored Oct 10, 2022
1 parent eedab8f commit a2f55b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl Track {
self
}

/// Returns the current playback position.
/// Returns the current volume.
pub fn volume(&self) -> f32 {
self.volume
}
Expand Down

0 comments on commit a2f55b7

Please sign in to comment.