Commit 57a8fe5f authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Fix rustdoc errors.

parent 224252f0
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
    ///