summaryrefslogtreecommitdiff
path: root/src/generation.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-08 14:27:16 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-09 09:58:38 +0300
commit0faa5f4953c81bbb81e875a87b8322ecfdd97cf2 (patch)
tree6eb8d78cd0aef5961d0c50bac4cdab7e1274810a /src/generation.rs
parentfc4cc8b028a6248f98fa09d28f9489a88949d45e (diff)
downloadobnam2-0faa5f4953c81bbb81e875a87b8322ecfdd97cf2.tar.gz
refactor: use for loop over an iterator instead of .insert_iter
This makes the code more explicit, which is good for now, and is a step towards making it all use async. There will be a need to refactor this further with better abstractions, once async works. Sponsored-by: author
Diffstat (limited to 'src/generation.rs')
-rw-r--r--src/generation.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/generation.rs b/src/generation.rs
index 45b8afa..49e42f5 100644
--- a/src/generation.rs
+++ b/src/generation.rs
@@ -50,9 +50,6 @@ pub enum NascentError {
#[error(transparent)]
LocalGenerationError(#[from] LocalGenerationError),
- #[error(transparent)]
- BackupError(#[from] BackupError),
-
#[error("SQL transaction error: {0}")]
Transaction(rusqlite::Error),