Skip to content

Commit

Permalink
fixup: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed May 6, 2024
1 parent d7f3214 commit 52cbfc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iroh/src/docs_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ pub use self::state::{Origin, SyncReason};

/// Capacity of the channel for the [`ToLiveActor`] messages.
const ACTOR_CHANNEL_CAP: usize = 64;
/// Capacity for the channels for [`SyncEngine::subscribe`].
/// Capacity for the channels for [`Engine::subscribe`].
const SUBSCRIBE_CHANNEL_CAP: usize = 256;

/// The sync engine coordinates actors that manage open documents, set-reconciliation syncs with
/// peers and a gossip swarm for each syncing document.
///
/// The RPC methods dealing with documents and sync operate on the `SyncEngine`, with method
/// The RPC methods dealing with documents and sync operate on the `Engine`, with method
/// implementations in [rpc].
#[derive(derive_more::Debug, Clone)]
pub struct Engine {
Expand Down
2 changes: 1 addition & 1 deletion iroh/src/docs_engine/rpc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! This module contains an impl block on [`SyncEngine`] with handlers for RPC requests
//! This module contains an impl block on [`Engine`] with handlers for RPC requests
use anyhow::anyhow;
use futures_lite::Stream;
Expand Down

0 comments on commit 52cbfc8

Please sign in to comment.