Skip to content

Commit

Permalink
chore(toolchain): update (#1452)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change

* chore: fix clippy warnings

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
hrkfdn and github-actions[bot] authored May 10, 2024
1 parent 2db47e3 commit 47403f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.77.2"
channel = "1.78.0"
components = ["rustfmt", "clippy", "rust-analyzer"]
2 changes: 1 addition & 1 deletion src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 47403f0

Please sign in to comment.