docs: fix broken doc comment example. (#1584)
This commit is contained in:
@@ -255,6 +255,7 @@ impl Proxy {
|
|||||||
/// # Ok(())
|
/// # Ok(())
|
||||||
/// # }
|
/// # }
|
||||||
/// # fn main() {}
|
/// # fn main() {}
|
||||||
|
/// ```
|
||||||
pub fn custom<F, U: IntoProxyScheme>(fun: F) -> Proxy
|
pub fn custom<F, U: IntoProxyScheme>(fun: F) -> Proxy
|
||||||
where
|
where
|
||||||
F: Fn(&Url) -> Option<U> + Send + Sync + 'static,
|
F: Fn(&Url) -> Option<U> + Send + Sync + 'static,
|
||||||
|
|||||||
Reference in New Issue
Block a user