Skip to content

Commit bc4acbb

Browse files
committed
feat: fmt
1 parent 56a4b7a commit bc4acbb

File tree

3 files changed

+10
-16
lines changed

3 files changed

+10
-16
lines changed

core/src/environment/mod.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
//! - [`EnvironmentParameters`]: Parameters necessary for creating or modifying
1515
//! an [`Environment`].
1616
//! - [`Instruction`]: Enum indicating the type of instruction that is being
17-
//! sent
18-
//! to the EVM.
17+
//! sent to the EVM.
1918
2019
use std::thread::{self, JoinHandle};
2120

@@ -62,8 +61,8 @@ pub(crate) type OutcomeReceiver = Receiver<Result<Outcome, ArbiterCoreError>>;
6261
/// [`Socket`] provide the [`Environment`] a means to route and execute
6362
/// transactions.
6463
/// * [`ArbiterDB`] is the database structure used that allows for read-only
65-
/// sharing of execution and write-only via the main thread. This can also be a
66-
/// database read in from disk storage via [`database::fork::Fork`].
64+
/// sharing of execution and write-only via the main thread. This can also be
65+
/// a database read in from disk storage via [`database::fork::Fork`].
6766
/// * [`ArbiterInspector`] is an that allows for the EVM to be able to display
6867
/// logs and properly handle gas payments.
6968
/// * [`EnvironmentParameters`] are used to set the gas limit, contract size
@@ -694,8 +693,7 @@ pub enum Broadcast {
694693
/// than 2^64 # Arguments
695694
/// * `input` - The U256 to convert.
696695
/// # Returns
697-
/// * `Ok(U64)` - The converted U64.
698-
/// Used for block number which is a U64.
696+
/// * `Ok(U64)` - The converted U64. Used for block number which is a U64.
699697
#[inline]
700698
fn convert_uint_to_u64(input: U256) -> Result<U64, ArbiterCoreError> {
701699
let as_str = input.to_string();

engine/src/agent.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ impl AgentBuilder {
102102
/// # Parameters
103103
///
104104
/// - `engine`: The state machine engine to be added to the agent builder.
105-
/// This engine must
106-
/// implement the `StateMachine` trait and is expected to be provided as a
107-
/// boxed trait object to allow for dynamic dispatch.
105+
/// This engine must implement the `StateMachine` trait and is expected to
106+
/// be provided as a boxed trait object to allow for dynamic dispatch.
108107
///
109108
/// # Returns
110109
///

engine/src/world.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,13 @@ impl World {
6363
/// # Type Parameters
6464
///
6565
/// - `C`: The type of the behavior component that each agent will be
66-
/// associated with.
67-
/// This type must implement the `CreateStateMachine`, `Serialize`,
68-
/// `DeserializeOwned`, and `Debug` traits.
66+
/// associated with. This type must implement the `CreateStateMachine`,
67+
/// `Serialize`, `DeserializeOwned`, and `Debug` traits.
6968
///
7069
/// # Arguments
7170
///
7271
/// - `config_path`: A string slice that holds the path to the configuration
73-
/// file
74-
/// relative to the current working directory.
72+
/// file relative to the current working directory.
7573
///
7674
/// # Panics
7775
///
@@ -80,8 +78,7 @@ impl World {
8078
/// - The configuration file specified by `config_path` cannot be opened.
8179
/// - The configuration file cannot be read into a string.
8280
/// - The contents of the configuration file cannot be deserialized into the
83-
/// expected
84-
/// `HashMap<String, Vec<C>>` format.
81+
/// expected `HashMap<String, Vec<C>>` format.
8582
///
8683
/// # Examples
8784
///

0 commit comments

Comments
 (0)