mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #672] [MERGED] Refactor to use Rust 1.58+ format string syntax #658
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#658
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/jpochyla/psst/pull/672
Author: @Cleboost
Created: 7/14/2025
Status: ✅ Merged
Merged: 7/15/2025
Merged by: @jacksongoode
Base:
main← Head:code-style📝 Commits (9)
a470035Refactor to use Rust 1.58+ format string syntaxffecf96Merge branch 'main' into code-style04d8a53Upgrade create-dmg to fix permission5b34fa8Fix create-dmg issue?747d17bLog create-dmg issue0c6eeaaTest473fdf6Revertaf1190a--skip-jenkins88b88ccFix📊 Changes
35 files changed (+120 additions, -124 deletions)
View changed files
📝
.github/workflows/build.yml(+1 -1)📝
psst-core/build.rs(+4 -4)📝
psst-core/src/actor.rs(+1 -1)📝
psst-core/src/audio/decode.rs(+4 -4)📝
psst-core/src/audio/output/cpal.rs(+5 -5)📝
psst-core/src/cache.rs(+5 -5)📝
psst-core/src/cdn.rs(+1 -1)📝
psst-core/src/connection/mod.rs(+6 -6)📝
psst-core/src/error.rs(+5 -5)📝
psst-core/src/item_id.rs(+3 -3)📝
psst-core/src/oauth.rs(+7 -10)📝
psst-core/src/player/file.rs(+4 -4)📝
psst-core/src/player/item.rs(+4 -4)📝
psst-core/src/player/mod.rs(+3 -3)📝
psst-core/src/player/worker.rs(+2 -2)📝
psst-core/src/session/access_token.rs(+1 -2)📝
psst-core/src/session/audio_key.rs(+4 -4)📝
psst-core/src/session/mercury.rs(+1 -1)📝
psst-core/src/session/mod.rs(+5 -5)📝
psst-gui/build.rs(+1 -1)...and 15 more files
📄 Description
Replaces instances of format!(...) with positional arguments (e.g., format!("{}", var)) to the new Rust 1.58+ inline variable syntax (e.g., format!("{var}")). This change improves code readability and consistency across the codebase, and leverages modern Rust formatting features. No functional changes are introduced.
This fix Github Action Code style. (Not sure this is usefull)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.