mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[PR #333] [MERGED] Replace failure with anyhow #760
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#760
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/Rigellute/spotify-tui/pull/333
Author: @Rigellute
Created: 3/12/2020
Status: ✅ Merged
Merged: 3/30/2020
Merged by: @Rigellute
Base:
master← Head:replace-failure-anyhow📝 Commits (1)
f6a27fbReplace failure with anyhow📊 Changes
7 files changed (+908 additions, -977 deletions)
View changed files
📝
Cargo.lock(+842 -911)📝
Cargo.toml(+1 -1)📝
src/app.rs(+4 -4)📝
src/config.rs(+5 -5)📝
src/main.rs(+4 -3)📝
src/network.rs(+37 -32)📝
src/user_config.rs(+15 -21)📄 Description
Unlike failure, anyhow is built around the standard library's std::error::Error trait rather than a separate trait failure::Fail. The standard library has adopted the necessary improvements for this to be possible as part of RFC 2504.
I plan to replace failure in rpsotify too.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.