File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 1+ mod github_gist;
12mod github_releases;
23mod github_repo;
3- mod github_gist;
44
5+ pub use github_gist:: GitHubGistSource ;
56pub use github_releases:: GitHubReleasesSource ;
67pub use github_repo:: GitHubRepoSource ;
7- pub use github_gist:: GitHubGistSource ;
88use tokio_stream:: Stream ;
99
1010use crate :: { BackupEntity , BackupPolicy } ;
You can’t perform that action at this time.
0 commit comments