mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #328] [MERGED] Replace build_map! macro with a function #399
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#399
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/328
Author: @SabrinaJewson
Created: 6/15/2022
Status: ✅ Merged
Merged: 6/24/2022
Merged by: @ramsayleung
Base:
master← Head:build-map-fn📝 Commits (5)
49151b7Replacebuild_map!macro with a function3a016c9Explain why iterators aren't used inbuild_mapf6609ebCap comment at 80 characters27dcfc1Merge branch 'master' into build-map-fn2cc8c99Format📊 Changes
5 files changed (+127 additions, -222 deletions)
View changed files
📝
rspotify-macros/src/lib.rs(+1 -83)📝
src/clients/base.rs(+69 -91)📝
src/clients/oauth.rs(+39 -48)📝
src/lib.rs(+1 -0)➕
src/util/mod.rs(+17 -0)📄 Description
Description
Replaced
build_mapwith an equivalent function.Motivation and Context
This makes the code easier to understand I think.
Dependencies
None.
Type of change
Refactor
How has this been tested?
cargo test --features env-file🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
collectionyourepisodestype #441