tor-proto: Clarify what we mean by "stream" in allow_stream_requests.

This commit is contained in:
Gabriela Moldovan 2023-08-03 12:24:37 +01:00
parent 23f1f2ce47
commit 296abfddcc
No known key found for this signature in database
GPG Key ID: 3946E0ADE72BAC99
1 changed files with 3 additions and 3 deletions

View File

@ -430,9 +430,9 @@ impl ClientCirc {
///
/// Ordinarily, these requests are rejected.
///
/// There can only be one stream of this type created on a given circuit at
/// a time. If a such a stream already exists, this method will return an
/// error.
/// There can only be one [`Stream`](futures::Stream) of this type created on a given circuit
/// at a time. If a such a [`Stream`](futures::Stream) already exists, this method will return
/// an error.
///
/// Only onion services (and eventually) exit relays should call this
/// method.