diff --git a/iroh/src/discovery.rs b/iroh/src/discovery.rs index 084b8068b61..55cea8c9f19 100644 --- a/iroh/src/discovery.rs +++ b/iroh/src/discovery.rs @@ -99,7 +99,7 @@ //! # } //! ``` //! -//! [`RelayUrl`]: crate::relay::RelayUrl +//! [`RelayUrl`]: crate::RelayUrl //! [`Builder::discovery`]: crate::endpoint::Builder::discovery //! [`DnsDiscovery`]: dns::DnsDiscovery //! [Number 0]: https://n0.computer @@ -144,7 +144,7 @@ pub mod static_provider; /// discovery information changes. If a discovery mechanism requires a periodic /// refresh, it should start its own task. /// -/// [`RelayUrl`]: crate::relay::RelayUrl +/// [`RelayUrl`]: crate::RelayUrl pub trait Discovery: std::fmt::Debug + Send + Sync { /// Publishes the given [`RelayUrl`] and direct addreesses to the discovery mechanism. /// diff --git a/iroh/src/discovery/pkarr.rs b/iroh/src/discovery/pkarr.rs index 029cae7e6a6..4912dbb7976 100644 --- a/iroh/src/discovery/pkarr.rs +++ b/iroh/src/discovery/pkarr.rs @@ -38,9 +38,9 @@ //! [pkarr]: https://pkarr.org //! [DNS Resource Records]: https://en.wikipedia.org/wiki/Domain_Name_System#Resource_records //! [Mainline DHT]: https://en.wikipedia.org/wiki/Mainline_DHT -//! [`SecretKey`]: crate::key::SecretKey -//! [`PublicKey`]: crate::key::PublicKey -//! [`NodeId`]: crate::key::NodeId +//! [`SecretKey`]: crate::SecretKey +//! [`PublicKey`]: crate::PublicKey +//! [`NodeId`]: crate::NodeId //! [`DnsDiscovery`]: crate::discovery::dns::DnsDiscovery //! [`DhtDiscovery`]: dht::DhtDiscovery @@ -110,7 +110,7 @@ pub const DEFAULT_REPUBLISH_INTERVAL: Duration = Duration::from_secs(60 * 5); /// /// [pkarr]: https://pkarr.org /// [module docs]: crate::discovery::pkarr -/// [`RelayUrl`]: crate::relay::RelayUrl +/// [`RelayUrl`]: crate::RelayUrl /// [`ConcurrentDiscovery`]: super::ConcurrentDiscovery #[derive(derive_more::Debug, Clone)] pub struct PkarrPublisher { diff --git a/iroh/src/dns/node_info.rs b/iroh/src/dns/node_info.rs index 35e1720af33..4f5134323e5 100644 --- a/iroh/src/dns/node_info.rs +++ b/iroh/src/dns/node_info.rs @@ -28,7 +28,7 @@ //! [Pkarr]: https://app.pkarr.org //! [z-base-32]: https://philzimmermann.com/docs/human-oriented-base-32-encoding.txt //! [RFC1464]: https://www.rfc-editor.org/rfc/rfc1464 -//! [`RelayUrl`]: iroh_base::node_addr::RelayUrl +//! [`RelayUrl`]: crate::RelayUrl //! [`N0_DNS_NODE_ORIGIN_PROD`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_PROD //! [`N0_DNS_NODE_ORIGIN_STAGING`]: crate::discovery::dns::N0_DNS_NODE_ORIGIN_STAGING diff --git a/iroh/src/lib.rs b/iroh/src/lib.rs index c46ddba87ae..60ab6f174b9 100644 --- a/iroh/src/lib.rs +++ b/iroh/src/lib.rs @@ -218,9 +218,9 @@ //! [STUN]: https://en.wikipedia.org/wiki/STUN //! [ALPN]: https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation //! [HTTP3]: https://en.wikipedia.org/wiki/HTTP/3 -//! [`SecretKey`]: crate::key::SecretKey -//! [`PublicKey`]: crate::key::PublicKey -//! [`RelayUrl`]: crate::relay::RelayUrl +//! [`SecretKey`]: crate::SecretKey +//! [`PublicKey`]: crate::PublicKey +//! [`RelayUrl`]: crate::RelayUrl //! [`discovery`]: crate::endpoint::Builder::discovery //! [`DnsDiscovery`]: crate::discovery::dns::DnsDiscovery //! [number 0]: https://n0.computer