Cargo fmt

This commit is contained in:
Yuri Iozzelli 2020-10-25 10:10:37 +01:00
parent 148106e1bd
commit 536b2b5969

View File

@ -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,
}