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:
Ian Jackson 2023-06-30 13:09:15 +01:00
parent 21c564fa01
commit 408c8f30ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;