tor-proto circuit: Make reactor::run_once modulae-private
Nothing else wants this and having it pub(super) is confusing.
This commit is contained in:
parent
21c564fa01
commit
408c8f30ad
|
@ -581,7 +581,7 @@ impl Reactor {
|
|||
|
||||
/// Helper for run: doesn't mark the circuit closed on finish. Only
|
||||
/// processes one cell or control message.
|
||||
pub(super) async fn run_once(&mut self) -> std::result::Result<(), ReactorError> {
|
||||
async fn run_once(&mut self) -> std::result::Result<(), ReactorError> {
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
let fut = futures::future::poll_fn(|cx| -> Poll<std::result::Result<_, ReactorError>> {
|
||||
let mut create_message = None;
|
||||
|
|
Loading…
Reference in New Issue