From afbdab4a45be571c43de26ac98c663bba16ab3d2 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 4 Oct 2021 21:43:14 -0600 Subject: [PATCH] formatting --- patch-db/src/transaction.rs | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/patch-db/src/transaction.rs b/patch-db/src/transaction.rs index 209f728..8b18316 100644 --- a/patch-db/src/transaction.rs +++ b/patch-db/src/transaction.rs @@ -1,25 +1,19 @@ +use std::collections::BTreeSet; use std::sync::Arc; use async_trait::async_trait; use json_ptr::{JsonPointer, SegList}; use serde::{Deserialize, Serialize}; use serde_json::Value; -use std::collections::BTreeSet; use tokio::sync::broadcast::error::TryRecvError; use tokio::sync::broadcast::Receiver; use tokio::sync::{RwLock, RwLockReadGuard}; use crate::handle::HandleId; +use crate::locker::{Guard, Locker}; +use crate::patch::{DiffPatch, Revision}; use crate::store::Store; -use crate::Error; -use crate::{ - locker::{Guard, Locker}, - DbHandle, -}; -use crate::{ - patch::{DiffPatch, Revision}, - PatchDbHandle, -}; +use crate::{DbHandle, Error, PatchDbHandle}; pub struct Transaction { pub(crate) id: HandleId,