about summary refs log tree commit diff
path: root/src/libstd/net.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/net.rs')
-rw-r--r--src/libstd/net.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/net.rs b/src/libstd/net.rs
index ba00ae64933..e73eed27864 100644
--- a/src/libstd/net.rs
+++ b/src/libstd/net.rs
@@ -12,7 +12,7 @@ Tag: ip_addr
 
 An IP address
 */
-tag ip_addr {
+enum ip_addr {
     /*
     Variant: ipv4
 
@@ -42,7 +42,7 @@ Function: parse_addr
 
 Convert a str to <ip_addr>
 
-Converts a string of the format "x.x.x.x" into an ip_addr tag.
+Converts a string of the format "x.x.x.x" into an ip_addr enum.
 
 Failure: