Remove commented-out code

This commit is contained in:
Paul Hauner 2019-05-27 09:01:50 +10:00
parent 855222fa28
commit 705edf0e45
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -15,10 +15,6 @@ use tokio::runtime::TaskExecutor;
pub struct HttpServerConfig {
pub enabled: bool,
pub listen_address: String,
/*
pub listen_address: Ipv4Addr,
pub port: u16,
*/
}
impl Default for HttpServerConfig {
@ -26,10 +22,6 @@ impl Default for HttpServerConfig {
Self {
enabled: false,
listen_address: "127.0.0.1:5051".to_string(),
/*
listen_address: Ipv4Addr::new(127, 0, 0, 1),
port: 5051,
*/
}
}
}