[PR #1667] clippy: enable implicit_clone lint #1484

Open
opened 2026-02-27 20:02:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/1667
Author: @xtqqczze
Created: 12/24/2025
Status: 🔄 Open

Base: devHead: clippy/implicit_clone


📝 Commits (2)

  • 4cf6bdb clippy: enable implicit_clone lint
  • b8b0d77 fix: remove redundant clone

📊 Changes

16 files changed (+24 additions, -23 deletions)

View changed files

📝 Cargo.toml (+1 -0)
📝 connect/src/state/context.rs (+2 -2)
📝 core/src/login5.rs (+1 -1)
📝 core/src/spclient.rs (+2 -2)
📝 core/src/token.rs (+1 -1)
📝 discovery/src/server.rs (+1 -1)
📝 metadata/src/album.rs (+1 -1)
📝 metadata/src/availability.rs (+1 -1)
📝 metadata/src/content_rating.rs (+1 -1)
📝 metadata/src/episode.rs (+1 -1)
📝 metadata/src/request.rs (+1 -1)
📝 metadata/src/restriction.rs (+1 -1)
📝 metadata/src/show.rs (+1 -1)
📝 metadata/src/track.rs (+2 -2)
📝 oauth/src/lib.rs (+6 -6)
📝 src/main.rs (+1 -1)

📄 Description

https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/librespot-org/librespot/pull/1667 **Author:** [@xtqqczze](https://github.com/xtqqczze) **Created:** 12/24/2025 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `clippy/implicit_clone` --- ### 📝 Commits (2) - [`4cf6bdb`](https://github.com/librespot-org/librespot/commit/4cf6bdbf0b0c797c24cf9d2c4fb3151f0a15f0ef) clippy: enable implicit_clone lint - [`b8b0d77`](https://github.com/librespot-org/librespot/commit/b8b0d775e565f4192e39bf1c416b1f1673a67114) fix: remove redundant `clone` ### 📊 Changes **16 files changed** (+24 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -0) 📝 `connect/src/state/context.rs` (+2 -2) 📝 `core/src/login5.rs` (+1 -1) 📝 `core/src/spclient.rs` (+2 -2) 📝 `core/src/token.rs` (+1 -1) 📝 `discovery/src/server.rs` (+1 -1) 📝 `metadata/src/album.rs` (+1 -1) 📝 `metadata/src/availability.rs` (+1 -1) 📝 `metadata/src/content_rating.rs` (+1 -1) 📝 `metadata/src/episode.rs` (+1 -1) 📝 `metadata/src/request.rs` (+1 -1) 📝 `metadata/src/restriction.rs` (+1 -1) 📝 `metadata/src/show.rs` (+1 -1) 📝 `metadata/src/track.rs` (+2 -2) 📝 `oauth/src/lib.rs` (+6 -6) 📝 `src/main.rs` (+1 -1) </details> ### 📄 Description https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#1484
No description provided.