diff options
| author | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2024-04-19 16:25:41 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-04-22 13:08:30 +0200 |
| commit | a0f3abeaf168b563e9395138ba6c77f532e208e2 (patch) | |
| tree | 9451d72269863f0cb568062c3ce9cda97fbaef7f /mullvad-cli/src | |
| parent | 47a32b6f2fc304396dcf047e4732145786e75bda (diff) | |
| download | mullvadvpn-a0f3abeaf168b563e9395138ba6c77f532e208e2.tar.xz mullvadvpn-a0f3abeaf168b563e9395138ba6c77f532e208e2.zip | |
Fix broken lints in rustdocs
I ran `cargo doc` and fixed as many broken links as I could find.
Diffstat (limited to 'mullvad-cli/src')
| -rw-r--r-- | mullvad-cli/src/cmds/api_access.rs | 8 | ||||
| -rw-r--r-- | mullvad-cli/src/cmds/proxies.rs | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/mullvad-cli/src/cmds/api_access.rs b/mullvad-cli/src/cmds/api_access.rs index 6c41850784..314ebf0795 100644 --- a/mullvad-cli/src/cmds/api_access.rs +++ b/mullvad-cli/src/cmds/api_access.rs @@ -340,7 +340,7 @@ pub struct EditCustomCommands { /// Which API access method to edit #[clap(flatten)] item: SelectItem, - /// Name of the API access method in the Mullvad client [All] + /// Name of the API access method in the Mullvad client \[All\] #[arg(long)] name: Option<String>, /// Editing parameters @@ -350,7 +350,7 @@ pub struct EditCustomCommands { #[derive(Args, Debug, Clone)] pub struct EditParams { - /// Name of the API access method in the Mullvad client [All] + /// Name of the API access method in the Mullvad client \[All\] #[arg(long)] name: Option<String>, #[clap(flatten)] @@ -406,7 +406,7 @@ mod conversions { } } -/// Pretty printing of [`ApiAccessMethod`]s +/// Pretty printing of [`AccessMethodSetting`]s mod pp { use crate::cmds::proxies::pp::CustomProxyFormatter; use mullvad_types::access_method::{AccessMethod, AccessMethodSetting}; @@ -418,7 +418,7 @@ mod pp { pub struct FormatterSettings { /// If the formatter should print the enabled status of an - /// [`AcessMethodSetting`] (*) next to its name. + /// [`AccessMethodSetting`] (*) next to its name. pub write_enabled: bool, } diff --git a/mullvad-cli/src/cmds/proxies.rs b/mullvad-cli/src/cmds/proxies.rs index b1fc2b6f3a..dbbb82afcc 100644 --- a/mullvad-cli/src/cmds/proxies.rs +++ b/mullvad-cli/src/cmds/proxies.rs @@ -102,25 +102,25 @@ pub struct SocksAuthentication { #[derive(Args, Debug, Clone)] pub struct ProxyEditParams { - /// Username for authentication [Socks5 (Remote proxy)] + /// Username for authentication \[Socks5 (Remote proxy)\] #[arg(long)] pub username: Option<String>, - /// Password for authentication [Socks5 (Remote proxy), Shadowsocks] + /// Password for authentication \[Socks5 (Remote proxy), Shadowsocks\] #[arg(long)] pub password: Option<String>, - /// Cipher to use [Shadowsocks] + /// Cipher to use \[Shadowsocks\] #[arg(value_parser = SHADOWSOCKS_CIPHERS, long)] pub cipher: Option<String>, - /// The IP of the remote proxy server [Socks5 (Local & Remote proxy), Shadowsocks] + /// The IP of the remote proxy server \[Socks5 (Local & Remote proxy), Shadowsocks\] #[arg(long)] pub ip: Option<IpAddr>, - /// The port of the remote proxy server [Socks5 (Local & Remote proxy), Shadowsocks] + /// The port of the remote proxy server \[Socks5 (Local & Remote proxy), Shadowsocks\] #[arg(long)] pub port: Option<u16>, - /// The port that the server on localhost is listening on [Socks5 (Local proxy)] + /// The port that the server on localhost is listening on \[Socks5 (Local proxy)\] #[arg(long)] pub local_port: Option<u16>, - /// The transport protocol used by the remote proxy [Socks5 (Local proxy)] + /// The transport protocol used by the remote proxy \[Socks5 (Local proxy)\] #[arg(long)] pub transport_protocol: Option<TransportProtocol>, } |
