chore(toolchain): update (#1452)

* [create-pull-request] automated change

* chore: fix clippy warnings

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Henrik Friedrichsen
2024-05-10 15:38:53 +02:00
committed by GitHub
parent 2db47e3d39
commit 47403f0d13
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
[toolchain]
channel = "1.77.2"
channel = "1.78.0"
components = ["rustfmt", "clippy", "rust-analyzer"]

View File

@@ -120,7 +120,7 @@ impl CommandManager {
queue.len(),
self.queue.get_current_index()
);
s.queuestate.queue = queue.clone();
s.queuestate.queue.clone_from(&queue);
s.queuestate.random_order = self.queue.get_random_order();
s.queuestate.current_track = self.queue.get_current_index();
s.queuestate.track_progress = self.spotify.get_current_progress();