Skip to content

Commit 4b95d9a

Browse files
committed
reformat to make nix flake check happy
1 parent beb0d93 commit 4b95d9a

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

src/helpers/github.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,6 @@ impl std::str::FromStr for GitHubRepoSourceKind {
747747
return Ok(GitHubRepoSourceKind::Gist(identifier.to_string()))
748748
}
749749
}
750-
751750
_ => {}
752751
}
753752
}

src/sources/github_gist.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,13 @@ mod tests {
194194

195195
while let Some(repo) = stream.next().await {
196196
match repo {
197-
Ok(r) => { println!("{}", r) }
198-
Err(e) => { panic!("{}", e) }
197+
Ok(r) => {
198+
println!("{}", r)
199+
}
200+
Err(e) => {
201+
panic!("{}", e)
202+
}
199203
}
200-
201204
}
202205
}
203206
}

src/sources/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
mod github_gist;
12
mod github_releases;
23
mod github_repo;
3-
mod github_gist;
44

5+
pub use github_gist::GitHubGistSource;
56
pub use github_releases::GitHubReleasesSource;
67
pub use github_repo::GitHubRepoSource;
7-
pub use github_gist::GitHubGistSource;
88
use tokio_stream::Stream;
99

1010
use crate::{BackupEntity, BackupPolicy};

0 commit comments

Comments
 (0)