chore: fmt

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-27 19:57:22 +02:00
parent 86cfc18076
commit d3beab5006
6 changed files with 670 additions and 521 deletions

View File

@@ -2,7 +2,7 @@ use capnp::message::{Builder, HeapAllocator};
use capnp::message::{ReaderOptions, TypedReader};
use capnp::serialize::{self, SliceSegments};
use capnp::traits::{Owned};
use capnp::traits::Owned;
use churn_domain::{Agent, LogEvent};
mod models_capnp;
@@ -14,7 +14,6 @@ pub trait CapnpPackExt {
fn deserialize_capnp(content: &Vec<u8>) -> anyhow::Result<Self::Return>;
fn capnp_to_string(builder: &Builder<HeapAllocator>) -> Vec<u8> {
serialize::write_message_to_words(builder)
}
@@ -26,8 +25,6 @@ pub trait CapnpPackExt {
serialize::read_message_from_flat_slice(&mut content.as_slice(), ReaderOptions::new())
.unwrap();
log_event.into_typed::<S>()
}
}

File diff suppressed because it is too large Load Diff