mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #326] [MERGED] Move clients::mutex to sync module #396
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#396
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/326
Author: @SabrinaJewson
Created: 6/15/2022
Status: ✅ Merged
Merged: 6/15/2022
Merged by: @marioortizmanero
Base:
master← Head:sync-module📝 Commits (4)
509d758Moveclients::mutextosyncbb38c1aDocumentrspotify::syncin changelog78b48fbRenamesync::synctosync::blocking0d1b615Format📊 Changes
13 files changed (+48 additions, -39 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
src/auth_code.rs(+4 -2)📝
src/auth_code_pkce.rs(+4 -2)📝
src/client_creds.rs(+4 -2)📝
src/clients/base.rs(+1 -1)📝
src/clients/mod.rs(+0 -1)➖
src/clients/mutex/futures.rs(+0 -18)➖
src/clients/mutex/mod.rs(+0 -12)➖
src/clients/mutex/sync.rs(+0 -1)📝
src/lib.rs(+1 -0)➕
src/sync/blocking.rs(+1 -0)➕
src/sync/futures.rs(+16 -0)➕
src/sync/mod.rs(+16 -0)📄 Description
Description
Rename
clients::mutextosyncand add doc comments to it.Motivation and Context
clients::mutexshouldn’t really be insideclientsIMO because it has nothing inherently to do with the differerent clients. I was considering removing the module entirely, but I think it’s nice to keep it contained.syncis a better name thanmutexsince it’s more general.Dependencies
None.
Type of change
How has this been tested?
cargo test --no-default-features --features client-reqwest,reqwest-default-tls,env-filecargo test --no-default-features --features client-ureq,ureq-rustls-tls,env-fileIs this change properly documented?
I will add a changelog entry.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.