From f0b8461ed24a0e429c6157c82ede2a42faa4819d Mon Sep 17 00:00:00 2001 From: Soroush Zare Date: Thu, 21 Sep 2023 16:46:55 -0700 Subject: [PATCH] Remove redundant comments --- chorus_lib/src/transport.rs | 1 - chorus_lib/src/transport/http.rs | 2 -- 2 files changed, 3 deletions(-) diff --git a/chorus_lib/src/transport.rs b/chorus_lib/src/transport.rs index 43c7f49..3329bd1 100644 --- a/chorus_lib/src/transport.rs +++ b/chorus_lib/src/transport.rs @@ -47,7 +47,6 @@ where { for (k, v) in self.info.into_iter() { new_info.insert(k, v); } - // Assuming NewLocation has a `name` associated function new_info.insert(NewLocation::name().to_string(), info); TransportConfig { diff --git a/chorus_lib/src/transport/http.rs b/chorus_lib/src/transport/http.rs index ae9875c..53a574d 100644 --- a/chorus_lib/src/transport/http.rs +++ b/chorus_lib/src/transport/http.rs @@ -13,8 +13,6 @@ use tiny_http::Server; use ureq::{Agent, AgentBuilder}; use crate::transport::TransportConfig; -// #[cfg(test)] -// use crate::transport::transport_for_target; use crate::{ core::{ChoreographyLocation, HList, Member, Portable, Transport},