Merge branch 'arti-client-doc-test' into 'main'

arti-client: Only run BridgesConfig doc test if pt-client feature is enabled.

Closes #843

See merge request tpo/core/arti!1166
This commit is contained in:
Alexander Færøy 2023-05-02 17:54:11 +00:00
commit 6e157a5389
1 changed files with 2 additions and 1 deletions

View File

@ -219,9 +219,10 @@ impl StorageConfig {
/// if you want a working configuration.
///
/// ```
/// ##[cfg(feature = "pt-client")]
/// # fn demo() -> anyhow::Result<()> {
/// use arti_client::config::{TorClientConfig, BridgeConfigBuilder, CfgPath};
/// // Requires that the pt-config feature is enabled.
/// // Requires that the pt-client feature is enabled.
/// use arti_client::config::pt::ManagedTransportConfigBuilder;
///
/// let mut builder = TorClientConfig::builder();