aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorboasting-squirrel <boasting.squirrel@gmail.com>2019-04-13 21:33:30 +0000
committerboasting-squirrel <boasting.squirrel@gmail.com>2019-04-13 21:33:30 +0000
commitd12ce55bc8654f265cfad5516d32cf48694b7836 (patch)
treeccbdcc2e8b86ac6d7e6e987d8a29ab213434a2c5 /src/main.rs
parentUse parse() instead of to_socket_addrs() (diff)
downloadminiserve-d12ce55bc8654f265cfad5516d32cf48694b7836.tar.gz
miniserve-d12ce55bc8654f265cfad5516d32cf48694b7836.zip
Fixed comment
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b85b8a4..0b4c77f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -90,7 +90,7 @@ fn main() {
.iter()
.map(|&interface| {
if interface == IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)) {
- // If the interface is 0.0.0.0, we'll change it to localhost so that clicking the link will
+ // If the interface is 0.0.0.0, we'll change it to 127.0.0.1 so that clicking the link will
// also work on Windows. Why can't Windows interpret 0.0.0.0?
String::from("127.0.0.1")
} else if interface.is_ipv6() {