fixup doc links

This commit is contained in:
Floris Bruynooghe
2023-02-14 13:27:15 +01:00
parent c379a4e5a7
commit d56e05a11a
4 changed files with 6 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ pub async fn check_qr(context: &Context, qr: &str) -> Result<Qr> {
/// This is the inverse of [`check_qr`] for that variant only.
///
/// TODO: Refactor this so all variants have a correct [`Display`] and transform `check_qr`
/// into [`FromStr`].
/// into `FromStr`.
pub fn format_backup(qr: &Qr) -> Result<String> {
match qr {
Qr::Backup { ref ticket } => Ok(format!("{DCBACKUP_SCHEME}{ticket}")),