Squash remaining warnings (#6789)

* Fixed comment warnings

* Fixed remaining warnings
This commit is contained in:
Arkadiy Paronyan
2017-10-16 12:31:52 +02:00
committed by GitHub
parent 44db0c55c5
commit 5b29b6d064
7 changed files with 13 additions and 13 deletions

View File

@@ -268,7 +268,7 @@ impl Server {
};
let mut allowed_hosts: Option<Vec<Host>> = allowed_hosts.into();
allowed_hosts.as_mut().map(|mut hosts| {
allowed_hosts.as_mut().map(|hosts| {
hosts.push(format!("http://*.{}:*", DAPPS_DOMAIN).into());
hosts.push(format!("http://*.{}", DAPPS_DOMAIN).into());
});