formatting

This commit is contained in:
Aiden McClelland
2021-10-04 21:43:14 -06:00
parent f0e6968a79
commit 44f7150bad

View File

@@ -1,25 +1,19 @@
use std::collections::BTreeSet;
use std::sync::Arc; use std::sync::Arc;
use async_trait::async_trait; use async_trait::async_trait;
use json_ptr::{JsonPointer, SegList}; use json_ptr::{JsonPointer, SegList};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use serde_json::Value; use serde_json::Value;
use std::collections::BTreeSet;
use tokio::sync::broadcast::error::TryRecvError; use tokio::sync::broadcast::error::TryRecvError;
use tokio::sync::broadcast::Receiver; use tokio::sync::broadcast::Receiver;
use tokio::sync::{RwLock, RwLockReadGuard}; use tokio::sync::{RwLock, RwLockReadGuard};
use crate::handle::HandleId; use crate::handle::HandleId;
use crate::locker::{Guard, Locker};
use crate::patch::{DiffPatch, Revision};
use crate::store::Store; use crate::store::Store;
use crate::Error; use crate::{DbHandle, Error, PatchDbHandle};
use crate::{
locker::{Guard, Locker},
DbHandle,
};
use crate::{
patch::{DiffPatch, Revision},
PatchDbHandle,
};
pub struct Transaction<Parent: DbHandle> { pub struct Transaction<Parent: DbHandle> {
pub(crate) id: HandleId, pub(crate) id: HandleId,