diff options
author | Teddy Wing | 2021-05-30 18:42:24 +0200 |
---|---|---|
committer | Teddy Wing | 2021-05-30 18:42:24 +0200 |
commit | 924905eee838bfb9b18cfa981c75dc6229e367b0 (patch) | |
tree | 4b78b90723adc9850997c05d3a6f71847361a528 /src | |
parent | 4ba5f79d097fc91b9749233529a28b06542d11dd (diff) | |
download | reflectub-924905eee838bfb9b18cfa981c75dc6229e367b0.tar.bz2 |
main: Move current main code to `run()`
We'll call this from `main()` when things are more ready.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index b2d8556..13b2b07 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,9 @@ async fn main() { // git::update( // Path::new("/tmp/grsvp"), // ).unwrap(); +} +async fn run() -> anyhow::Result<()> { let test_repos = vec![ github::Repo { id: 18086664, @@ -84,6 +86,8 @@ async fn main() { e => panic!("{:?}", e), } } + + Ok(()) } |