mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #336] [MERGED] Cleanup with more clippy lints #404
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#404
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/336
Author: @marioortizmanero
Created: 7/9/2022
Status: ✅ Merged
Merged: 7/31/2022
Merged by: @marioortizmanero
Base:
master← Head:clippy-lints📝 Commits (8)
70f3993Minor improvements8fc4e31Formatting8ca53dfDone with rspotify-model1af4ef4Done with rspotify-http9db12a9Done for main cratea9691b3Fix tests2c77301Fix docs50c30b3Update changelog📊 Changes
25 files changed (+147 additions, -132 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
Cargo.toml(+1 -0)📝
rspotify-http/Cargo.toml(+1 -0)📝
rspotify-http/src/ureq.rs(+1 -1)📝
rspotify-macros/Cargo.toml(+1 -0)📝
rspotify-model/Cargo.toml(+1 -0)📝
rspotify-model/src/auth.rs(+4 -2)📝
rspotify-model/src/context.rs(+1 -1)📝
rspotify-model/src/custom_serde.rs(+3 -3)📝
rspotify-model/src/enums/misc.rs(+3 -2)📝
rspotify-model/src/idtypes.rs(+10 -0)📝
rspotify-model/src/lib.rs(+0 -1)📝
rspotify-model/src/offset.rs(+0 -10)📝
rspotify-model/src/recommend.rs(+43 -42)📝
rspotify-model/src/show.rs(+1 -1)📝
src/auth_code.rs(+6 -3)📝
src/auth_code_pkce.rs(+9 -5)📝
src/client_creds.rs(+6 -3)📝
src/clients/base.rs(+19 -24)📝
src/clients/oauth.rs(+9 -9)...and 5 more files
📄 Description
Description
This PR cleans up a lot of code thanks to the clippy lints described in #204.
Cargo.toml(categoriesfield)#[must_use]Selfwhere possibleOffsetconstructorsMotivation and Context
Some code is overly complex or not well annotated.
Dependencies
None
Type of change
Please delete options that are not relevant.
How has this been tested?
CI still passes
Is this change properly documented?
Yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.