diff --git a/src/imex/transfer.rs b/src/imex/transfer.rs index 21bdd814d..94aeba639 100644 --- a/src/imex/transfer.rs +++ b/src/imex/transfer.rs @@ -78,9 +78,8 @@ impl BackupProvider { /// or database are happening, this is done by calling the [`Accounts::stop_io`] or /// [`Context::stop_io`] APIs first. /// - /// This will acquire the global "ongoing process" mutex. You must call - /// [`BackupProvider::join`] after creating this struct, otherwise this will not respect - /// the possible cancellation of the "ongoing process". + /// This will acquire the global "ongoing process" mutex, which can be used to cancel + /// the process. /// /// [`Accounts::stop_io`]: crate::accounts::Accounts::stop_io pub async fn prepare(context: &Context) -> Result { @@ -292,7 +291,7 @@ impl From for EventType { /// This is a long running operation which will only when completed. /// /// Using [`Qr`] as argument is a bit odd as it only accepts one specific variant of it. It -/// does avoid having [`sendme::provider::Ticket`] in the primary API however, without +/// does avoid having [`iroh::provider::Ticket`] in the primary API however, without /// having to revert to untyped bytes. pub async fn get_backup(context: &Context, qr: Qr) -> Result<()> { ensure!( diff --git a/src/qr.rs b/src/qr.rs index aa83bdac5..54855b5c8 100644 --- a/src/qr.rs +++ b/src/qr.rs @@ -504,7 +504,7 @@ fn decode_webrtc_instance(_context: &Context, qr: &str) -> Result { /// Decodes a [`DCBACKUP_SCHEME`] QR code. /// /// The format of this scheme is `DCBACKUP:`. The encoding is the -/// [`sendme::provider::Ticket`]'s `Display` impl. +/// [`iroh::provider::Ticket`]'s `Display` impl. fn decode_backup(qr: &str) -> Result { let payload = qr .strip_prefix(DCBACKUP_SCHEME) diff --git a/src/stock_str.rs b/src/stock_str.rs index 6401ed1e1..b4b2fd0c9 100644 --- a/src/stock_str.rs +++ b/src/stock_str.rs @@ -1247,6 +1247,8 @@ pub(crate) async fn aeap_explanation_and_link( /// /// The default is "Scan to set up second device for ". The /// account name and address are looked up from the context. +/// +/// [`Qr::Backup`]: crate::qr::Qr::Backup pub(crate) async fn backup_transfer_qr(context: &Context) -> Result { let contact = Contact::get_by_id(context, ContactId::SELF).await?; let addr = contact.get_addr();