diff options
author | Teddy Wing | 2021-06-06 20:14:01 +0200 |
---|---|---|
committer | Teddy Wing | 2021-06-06 20:14:42 +0200 |
commit | 0da2cb98c759e59772a489b73e91164c6a8f5fe9 (patch) | |
tree | 58afa34caf476b8d5634fd0c958ba1c84833c072 /src | |
parent | 1d1850a9d331c29882954625d7d3020cd8dc27ab (diff) | |
download | reflectub-0da2cb98c759e59772a489b73e91164c6a8f5fe9.tar.bz2 |
Split database mutex lock and create calls onto multiple lines
To separate the actions more.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index ecab278..a8c35be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -108,7 +108,8 @@ fn run() -> anyhow::Result<()> { ); executor::block_on(async { - db.lock().await.create().await + db.lock().await + .create().await })?; let mut joins = Vec::new(); |