docs: fix broken doc comment example. (#1584)

This commit is contained in:
Vidhan Bhatt
2022-07-19 10:10:30 -04:00
committed by GitHub
parent 3b2eecce6e
commit e9ba0a9dc7

View File

@@ -255,6 +255,7 @@ impl Proxy {
/// # Ok(())
/// # }
/// # fn main() {}
/// ```
pub fn custom<F, U: IntoProxyScheme>(fun: F) -> Proxy
where
F: Fn(&Url) -> Option<U> + Send + Sync + 'static,