[PR #72] [MERGED] Use Rust 2018 edition #224

Closed
opened 2026-02-27 20:23:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/72
Author: @Rigellute
Created: 1/29/2020
Status: Merged
Merged: 1/29/2020
Merged by: @ramsayleung

Base: masterHead: rust-2018-edition


📝 Commits (1)

📊 Changes

8 files changed (+26 additions, -28 deletions)

View changed files

📝 Cargo.toml (+1 -0)
📝 src/spotify/model/album.rs (+7 -8)
📝 src/spotify/model/artist.rs (+4 -4)
📝 src/spotify/model/context.rs (+1 -3)
📝 src/spotify/model/device.rs (+1 -1)
📝 src/spotify/model/playlist.rs (+4 -4)
📝 src/spotify/model/track.rs (+6 -6)
📝 src/spotify/model/user.rs (+2 -2)

📄 Description

Async/await requires Rust 2018 edition. This PR therefore prepares
rspotify for implementing async/await.


🔄 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/ramsayleung/rspotify/pull/72 **Author:** [@Rigellute](https://github.com/Rigellute) **Created:** 1/29/2020 **Status:** ✅ Merged **Merged:** 1/29/2020 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `rust-2018-edition` --- ### 📝 Commits (1) - [`e6ad368`](https://github.com/ramsayleung/rspotify/commit/e6ad368a7238e0414e96f71ddf040f69d5131b4a) Use Rust 2018 edition ### 📊 Changes **8 files changed** (+26 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -0) 📝 `src/spotify/model/album.rs` (+7 -8) 📝 `src/spotify/model/artist.rs` (+4 -4) 📝 `src/spotify/model/context.rs` (+1 -3) 📝 `src/spotify/model/device.rs` (+1 -1) 📝 `src/spotify/model/playlist.rs` (+4 -4) 📝 `src/spotify/model/track.rs` (+6 -6) 📝 `src/spotify/model/user.rs` (+2 -2) </details> ### 📄 Description Async/await requires Rust 2018 edition. This PR therefore prepares rspotify for implementing async/await. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:51 +03:00
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/rspotify#224
No description provided.