From 072d67774a44acccc0f8a918c97078174a77ae29 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Thu, 29 Aug 2024 10:09:57 +0530 Subject: [PATCH] fix fmt issues --- paladin-core/src/channel/mod.rs | 9 ++++----- paladin-core/src/serializer/mod.rs | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/paladin-core/src/channel/mod.rs b/paladin-core/src/channel/mod.rs index 59fdd47..05d5a89 100644 --- a/paladin-core/src/channel/mod.rs +++ b/paladin-core/src/channel/mod.rs @@ -5,11 +5,10 @@ //! - It supports a notion of message acknowledgement. //! - It supports a notion of resource release. //! - Rather than returning a tuple of `(sender, receiver)`, it breaks each into -//! separate methods. -//! This is because generally senders and receivers are usually instantiated in -//! separate process, as the channel is meant to facilitate inter process -//! communication. This avoids instantiating unnecessary resources when only one -//! is needed. +//! separate methods. This is because generally senders and receivers are +//! usually instantiated in separate process, as the channel is meant to +//! facilitate inter process communication. This avoids instantiating +//! unnecessary resources when only one is needed. use std::{ pin::Pin, diff --git a/paladin-core/src/serializer/mod.rs b/paladin-core/src/serializer/mod.rs index 652570d..d30131f 100644 --- a/paladin-core/src/serializer/mod.rs +++ b/paladin-core/src/serializer/mod.rs @@ -7,8 +7,8 @@ //! //! # Features: //! - **Serializable Trait**: A shorthand trait that encapsulates common -//! serialization and deserialization behaviors. -//! It's designed to be used in asynchronous or threaded contexts. +//! serialization and deserialization behaviors. It's designed to be used in +//! asynchronous or threaded contexts. //! - **Serializer Enum**: Provides a generic way to serialize and deserialize //! binary data. It supports multiple serialization formats and can be easily //! extended.