summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-03-04 10:45:58 +0100
committerDavid Lönnhager <david.l@mullvad.net>2025-03-05 23:32:57 +0100
commit3da2c2d4a92391cfa3f12cf0d995d5e5dcf3e5ca (patch)
treee925b7255b9361da39546457a043084608bdbee7
parent3de6aaaa162e866f5d11aba325ea5bf4b561d58e (diff)
downloadmullvadvpn-3da2c2d4a92391cfa3f12cf0d995d5e5dcf3e5ca.tar.xz
mullvadvpn-3da2c2d4a92391cfa3f12cf0d995d5e5dcf3e5ca.zip
Fix documentation warnings
-rw-r--r--installer-downloader/src/resource.rs2
-rw-r--r--installer-downloader/src/temp.rs4
-rw-r--r--mullvad-update/src/format/mod.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/installer-downloader/src/resource.rs b/installer-downloader/src/resource.rs
index f235333845..24c59995c3 100644
--- a/installer-downloader/src/resource.rs
+++ b/installer-downloader/src/resource.rs
@@ -46,7 +46,7 @@ pub const FETCH_VERSION_ERROR_RETRY_BUTTON_TEXT: &str = "Try again";
/// Displayed while fetching version info from the API failed (cancel button)
pub const FETCH_VERSION_ERROR_CANCEL_BUTTON_TEXT: &str = "Cancel";
-/// The first part of "Downloading from <some url>... (x%)", displayed during download
+/// The first part of "Downloading from \<some url\>... (x%)", displayed during download
pub const DOWNLOADING_DESC_PREFIX: &str = "Downloading from";
/// Displayed after completed download
diff --git a/installer-downloader/src/temp.rs b/installer-downloader/src/temp.rs
index 257465d5d0..a40019df4f 100644
--- a/installer-downloader/src/temp.rs
+++ b/installer-downloader/src/temp.rs
@@ -20,10 +20,10 @@ use anyhow::Context;
use async_trait::async_trait;
use std::path::PathBuf;
-/// Provide a directory to use for [AppDownloader]
+/// Provide a directory to use for [mullvad_update::app::AppDownloader]
#[async_trait]
pub trait DirectoryProvider {
- /// Provide a directory to use for [AppDownloader]
+ /// Provide a directory to use for [mullvad_update::app::AppDownloader]
async fn create_download_dir() -> anyhow::Result<PathBuf>;
}
diff --git a/mullvad-update/src/format/mod.rs b/mullvad-update/src/format/mod.rs
index fc706f4357..82b4f16ea0 100644
--- a/mullvad-update/src/format/mod.rs
+++ b/mullvad-update/src/format/mod.rs
@@ -7,7 +7,7 @@
//! `signed` also contains an `expires` field, which is a timestamp indicating when the object
//! expires.
//!
-//! For [deserializer] to succeed in deserializing a file, it must verify that the canonicalized
+//! For the deserializer to succeed in deserializing a file, it must verify that the canonicalized
//! form of `signed` is in fact signed by key/signature in `signature`. It also reads the `expires`
//! and rejects the file if it has expired.