diff --git a/lib/ipaddress/ipv4.rb b/lib/ipaddress/ipv4.rb
index 70516784f78794d35dde547e600b60fb69cdc7ba..19ab14c50ffd8fb0c4aacdd95f6498beeb3df626 100644
--- a/lib/ipaddress/ipv4.rb
+++ b/lib/ipaddress/ipv4.rb
@@ -773,7 +773,7 @@ module IPAddress;
     #
     # we can calculate the subnets with a /26 prefix
     #
-    #   ip.subnets(26).map{&:to_string)
+    #   ip.subnet(26).map{&:to_string)
     #     #=> ["172.16.10.0/26", "172.16.10.64/26", 
     #          "172.16.10.128/26", "172.16.10.192/26"]
     #