From c99976fabccb9fcaa67a4162a9c9991567e2f224 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 8 Nov 2022 08:27:19 -0500 Subject: [PATCH] ChanMgr: downgrade and remove a few TODO-ptclient comments renamings are now #623. Code movement can happen later. --- crates/tor-chanmgr/src/factory/registry.rs | 2 -- crates/tor-chanmgr/src/transport.rs | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/tor-chanmgr/src/factory/registry.rs b/crates/tor-chanmgr/src/factory/registry.rs index e85d9cfa0..e71192aad 100644 --- a/crates/tor-chanmgr/src/factory/registry.rs +++ b/crates/tor-chanmgr/src/factory/registry.rs @@ -13,8 +13,6 @@ use super::ChannelFactory; /// It can be used itself as a `ChannelFactory`, to open connections to a given /// channel target depending on its configured [`TransportId`]. // -// TODO pt-client: Rename to ChannelFactoryRegistry? -// // TODO pt-client: Turn this into a concrete type? pub trait TransportRegistry { /// Return a ChannelFactory that can make connections via a chosen diff --git a/crates/tor-chanmgr/src/transport.rs b/crates/tor-chanmgr/src/transport.rs index 1ffe84877..7b6bd2f18 100644 --- a/crates/tor-chanmgr/src/transport.rs +++ b/crates/tor-chanmgr/src/transport.rs @@ -29,9 +29,7 @@ pub use proxied::ProxyError; /// [`ChannelFactory`](crate::factory::ChannelFactory), wrap it in a /// `ChanBuilder`. // -// TODO pt-client: rename this to Transport? TransportConnector? -// -// TODO pt-client: Maybe move this to a separate crate so that tor-ptmgr can be +// TODO: Maybe move this to a separate crate so that tor-ptmgr can be // used without having to depend on chanmgr. #[async_trait] pub trait TransportHelper {