hs: Fix a feature name in arti-client

In arti-client it's called "onion-client", not "hs-client".
This commit is contained in:
Nick Mathewson 2023-06-07 08:21:22 -04:00
parent 2877140075
commit bdb96b4ac1
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ pub struct StreamPrefs {
/// Whether to return the stream optimistically.
optimistic_stream: bool,
/// Whether to try to make connections to onion services.
#[cfg(feature = "hs-client")]
#[cfg(feature = "onion-client")]
#[allow(dead_code)]
connect_to_onion_services: bool, // TODO hs: this should default to "true".
}