fix: Corrected incorrect comment

This commit is contained in:
Memoyu
2025-02-19 10:34:32 +08:00
committed by Henrik Friedrichsen
parent 0cd44e3b52
commit 0f185ebb0b

View File

@@ -158,7 +158,7 @@ impl Queue {
} }
/// Append `tracks` after the currently playing item, taking into account /// Append `tracks` after the currently playing item, taking into account
/// shuffle status. Returns the amount of added items. /// shuffle status. Returns the first index(in `self.queue`) of added items.
pub fn append_next(&self, tracks: &Vec<Playable>) -> usize { pub fn append_next(&self, tracks: &Vec<Playable>) -> usize {
let mut q = self.queue.write().unwrap(); let mut q = self.queue.write().unwrap();