doc fixups

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-05-17 11:39:11 +02:00
parent 44a2cab602
commit 242a6ab216

View File

@ -1,6 +1,6 @@
//! HTTP proxy configuration.
//!
//! This can be used with the [`SimpleClient`](crate::client::SimpleClient).
//! This can be used with the [`SimpleHttp`](crate::client::SimpleHttp).
use anyhow::{bail, format_err, Error};
@ -38,7 +38,7 @@ impl ProxyConfig {
}
}
/// Parse proxy configuration string [http://]<host>[:port]
/// Parse proxy configuration string `[http://]<host>[:port]`
///
/// Default port is 1080 (like curl)
pub fn parse_proxy_url(http_proxy: &str) -> Result<ProxyConfig, Error> {