Integrate browse API into TUI MB daemon #230

Merged
wojtek merged 15 commits from 160---provide-a-keyboard-shortcut-to-pull-all-release-groups-of-an-artist into main 2024-10-06 15:32:46 +02:00
Showing only changes of commit 029af582d6 - Show all commits

View File

@ -49,13 +49,6 @@ pub struct Paged<T> {
pub next: NextPage, pub next: NextPage,
} }
// pub fn map<U, F: FnOnce(T) -> U>(self, op: F) -> Result<U, E> {
// match self {
// Ok(t) => Ok(op(t)),
// Err(e) => Err(e),
// }
// }
impl<T> Paged<T> { impl<T> Paged<T> {
pub fn map_paged_result<E, U, F: FnOnce(T) -> U>( pub fn map_paged_result<E, U, F: FnOnce(T) -> U>(
result: Result<Paged<T>, E>, result: Result<Paged<T>, E>,