From 536b2b59697afb767584a7dd638548b44f9df463 Mon Sep 17 00:00:00 2001 From: Yuri Iozzelli Date: Sun, 25 Oct 2020 10:10:37 +0100 Subject: [PATCH] Cargo fmt --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 166dfc9..ba9ac73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -225,7 +225,11 @@ impl BunqConfigReady { loop { let (mut payments, pag) = next_page(&format!("{}{}", BASE, url))?; all.append(&mut payments); - if let Some(Pagination{older_url: Some(older_url),..}) = pag { + if let Some(Pagination { + older_url: Some(older_url), + .. + }) = pag + { url = older_url; } else { break; @@ -287,4 +291,3 @@ pub struct MonetaryAccountBank { pub id: i64, pub description: String, } -