Skip to content

Commit

Permalink
fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed Jun 4, 2024
1 parent ffb3f5e commit 9d0aa72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions iroh-docs/src/engine.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Handlers and actors to for live syncing [`iroh_docs`] replicas.
//! Handlers and actors to for live syncing replicas.
//!
//! [`crate::Replica`] is also called documents here.
Expand Down Expand Up @@ -40,9 +40,6 @@ 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 `Engine`, with method
/// implementations in [rpc].
#[derive(derive_more::Debug, Clone)]
pub struct Engine {
/// [`Endpoint`] used by the engine.
Expand Down
2 changes: 0 additions & 2 deletions iroh/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ impl<D> NodeInner<D> {
}

/// Wrapper around [`Engine`] so that we can implement our RPC methods directly.
///
/// See [`crate::node::rpc::docs`]
#[derive(Debug, Clone)]
pub(crate) struct DocsEngine(Engine);

Expand Down
2 changes: 1 addition & 1 deletion iroh/src/node/rpc/docs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! This module contains an impl block on [`Engine`] with handlers for RPC requests
//! This module contains an impl block on [`DocsEngine`] with handlers for RPC requests
use anyhow::anyhow;
use futures_lite::Stream;
Expand Down

0 comments on commit 9d0aa72

Please sign in to comment.