Skip to content

Commit

Permalink
fix: cargo fmt wrap comments
Browse files Browse the repository at this point in the history
  • Loading branch information
th4s committed Oct 18, 2024
1 parent 3f2d01f commit b2a0e4d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion crates/tls/mpc/src/follower/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ impl ludi::Actor for MpcTlsFollower {
impl MpcTlsFollower {
/// Runs the follower actor.
///
/// Returns a control handle and a future that resolves when the actor is stopped.
/// Returns a control handle and a future that resolves when the actor is
/// stopped.
///
/// # Note
///
Expand Down
7 changes: 4 additions & 3 deletions crates/tls/mpc/src/leader/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ impl MpcTlsLeaderCtrl {
impl MpcTlsLeader {
/// Runs the leader actor.
///
/// Returns a control handle and a future that resolves when the actor is stopped.
/// Returns a control handle and a future that resolves when the actor is
/// stopped.
///
/// # Note
///
Expand Down Expand Up @@ -436,8 +437,8 @@ impl MpcTlsLeaderCtrl {

/// Commits the leader to the current transcript.
///
/// This reveals the AEAD key to the leader and disables sending or receiving
/// any further messages.
/// This reveals the AEAD key to the leader and disables sending or
/// receiving any further messages.
pub async fn commit(&self) -> Result<(), MpcTlsError> {
self.address.send(Commit).await?
}
Expand Down
3 changes: 2 additions & 1 deletion crates/tls/mpc/src/msg/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! Contains message types for communication between leader and follower and actor messages.
//! Contains message types for communication between leader and follower and
//! actor messages.
use serde::{Deserialize, Serialize};

Expand Down

0 comments on commit b2a0e4d

Please sign in to comment.