[PR #74] [MERGED] Run rustfmt across codebase #227

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/74
Author: @Rigellute
Created: 1/29/2020
Status: Merged
Merged: 1/29/2020
Merged by: @ramsayleung

Base: masterHead: run-fmt


📝 Commits (2)

📊 Changes

71 files changed (+2429 additions, -2333 deletions)

View changed files

📝 examples/artist_top_tracks.rs (+6 -4)
📝 examples/artists_albums.rs (+8 -2)
📝 examples/categories.rs (+2 -3)
📝 examples/current_playback.rs (+1 -2)
📝 examples/current_playing.rs (+1 -2)
📝 examples/current_user_followed_artists.rs (+1 -2)
📝 examples/current_user_playing_track.rs (+1 -2)
📝 examples/current_user_playlists.rs (+1 -3)
📝 examples/current_user_recently_played.rs (+1 -2)
📝 examples/current_user_saved_albums.rs (+1 -2)
📝 examples/current_user_saved_albums_add.rs (+1 -2)
📝 examples/current_user_saved_albums_contains.rs (+1 -2)
📝 examples/current_user_saved_albums_delete.rs (+1 -2)
📝 examples/current_user_saved_tracks.rs (+1 -2)
📝 examples/current_user_saved_tracks_add.rs (+1 -2)
📝 examples/current_user_saved_tracks_contains.rs (+1 -2)
📝 examples/current_user_saved_tracks_delete.rs (+1 -3)
📝 examples/current_user_top_artists.rs (+1 -2)
📝 examples/current_user_top_tracks.rs (+1 -2)
📝 examples/device.rs (+1 -2)

...and 51 more files

📄 Description

This was easily done by running cargo fmt -- --emit files.
rustfmt gives a consistent code format which, in my view, makes collaboration
easier and more consistent.
If lints are added to CI, this PR would fix fmt issues.


🔄 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/74 **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:** `run-fmt` --- ### 📝 Commits (2) - [`d32e1c8`](https://github.com/ramsayleung/rspotify/commit/d32e1c865ec200cb3192d48c7f9708a4f430af1c) Run rustfmt across codebase - [`d9e7857`](https://github.com/ramsayleung/rspotify/commit/d9e78579510f87fb413769445c0aac2af53c4e5c) Merge branch 'master' of https://github.com/ramsayleung/rspotify into run-fmt ### 📊 Changes **71 files changed** (+2429 additions, -2333 deletions) <details> <summary>View changed files</summary> 📝 `examples/artist_top_tracks.rs` (+6 -4) 📝 `examples/artists_albums.rs` (+8 -2) 📝 `examples/categories.rs` (+2 -3) 📝 `examples/current_playback.rs` (+1 -2) 📝 `examples/current_playing.rs` (+1 -2) 📝 `examples/current_user_followed_artists.rs` (+1 -2) 📝 `examples/current_user_playing_track.rs` (+1 -2) 📝 `examples/current_user_playlists.rs` (+1 -3) 📝 `examples/current_user_recently_played.rs` (+1 -2) 📝 `examples/current_user_saved_albums.rs` (+1 -2) 📝 `examples/current_user_saved_albums_add.rs` (+1 -2) 📝 `examples/current_user_saved_albums_contains.rs` (+1 -2) 📝 `examples/current_user_saved_albums_delete.rs` (+1 -2) 📝 `examples/current_user_saved_tracks.rs` (+1 -2) 📝 `examples/current_user_saved_tracks_add.rs` (+1 -2) 📝 `examples/current_user_saved_tracks_contains.rs` (+1 -2) 📝 `examples/current_user_saved_tracks_delete.rs` (+1 -3) 📝 `examples/current_user_top_artists.rs` (+1 -2) 📝 `examples/current_user_top_tracks.rs` (+1 -2) 📝 `examples/device.rs` (+1 -2) _...and 51 more files_ </details> ### 📄 Description This was easily done by running `cargo fmt -- --emit files`. [`rustfmt`](https://github.com/rust-lang/rustfmt) gives a consistent code format which, in my view, makes collaboration easier and more consistent. If lints are added to CI, this PR would fix fmt issues. --- <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#227
No description provided.