Skip to content

Commit ccf876e

Browse files
authored
fix(docs): Fix link to EndpointTicket (#3814)
## Description Fix doc link, the crate has moved. ## Breaking Changes n/a ## Notes & open questions n/a ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.
1 parent f12467b commit ccf876e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

iroh/src/discovery/static_provider.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//! This is where the [`StaticProvider`] is useful: it allows applications to add and
99
//! retract endpoint addressing information that is otherwise out-of-band to iroh.
1010
//!
11-
//! [`EndpointTicket`]: https://docs.rs/iroh-base/latest/iroh_base/ticket/struct.EndpointTicket
11+
//! [`EndpointTicket`]: https://docs.rs/iroh-tickets/latest/iroh_tickets/endpoint/struct.EndpointTicket.html
1212
1313
use std::{
1414
collections::{BTreeMap, btree_map::Entry},
@@ -64,7 +64,7 @@ use super::{Discovery, DiscoveryError, DiscoveryItem, EndpointData, EndpointInfo
6464
/// # }
6565
/// ```
6666
///
67-
/// [`EndpointTicket`]: https://docs.rs/iroh-base/latest/iroh_base/ticket/struct.EndpointTicket
67+
/// [`EndpointTicket`]: https://docs.rs/iroh-tickets/latest/iroh_tickets/endpoint/struct.EndpointTicket.html
6868
#[derive(Debug, Clone)]
6969
pub struct StaticProvider {
7070
endpoints: Arc<RwLock<BTreeMap<EndpointId, StoredEndpointInfo>>>,

0 commit comments

Comments
 (0)