Fix rustdoc errors.
This commit is contained in:
parent
224252f082
commit
57a8fe5f55
|
@ -2,14 +2,15 @@
|
|||
//!
|
||||
//! Some of these are re-exported from lower-level crates.
|
||||
//!
|
||||
/// # ⚠ Stability Warning ⚠
|
||||
///
|
||||
/// The design of this structure, and of the configuration system for
|
||||
/// Arti, is likely to change significantly before the release of Arti
|
||||
/// 1.0.0. The layout of options within this structure is also likely
|
||||
/// to change. For more information see ticket [#285].
|
||||
///
|
||||
/// [#285]: https://gitlab.torproject.org/tpo/core/arti/-/issues/285
|
||||
//! # ⚠ Stability Warning ⚠
|
||||
//!
|
||||
//! The design of this structure, and of the configuration system for
|
||||
//! Arti, is likely to change significantly before the release of Arti
|
||||
//! 1.0.0. The layout of options within this structure is also likely
|
||||
//! to change. For more information see ticket [#285].
|
||||
//!
|
||||
//! [#285]: https://gitlab.torproject.org/tpo/core/arti/-/issues/285
|
||||
|
||||
use derive_builder::Builder;
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
|
|
|
@ -221,7 +221,7 @@ enum UseTls {
|
|||
Tls,
|
||||
}
|
||||
|
||||
/// Convert uri to http[s] host and port, and whether to do tls
|
||||
/// Convert uri to http\[s\] host and port, and whether to do tls
|
||||
fn uri_to_host_port_tls(uri: Uri) -> Result<(String, u16, UseTls), ConnectionError> {
|
||||
let use_tls = {
|
||||
// Scheme doesn't derive PartialEq so can't be matched on
|
||||
|
|
|
@ -256,7 +256,7 @@ impl PreferredRuntime {
|
|||
/// When `tor-rtcompat` is compiled with the `tokio` feature enabled
|
||||
/// (regardless of whether the `async-std` feature is also enabled),
|
||||
/// panics if called outside of Tokio runtime context.
|
||||
/// See [`tokio::runtime::Handle::current`].
|
||||
/// See `tokio::runtime::Handle::current`.
|
||||
///
|
||||
/// # Usage notes
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue