diff --git a/lib/port.rb b/lib/port.rb
index <HASH>..<HASH> 100644
--- a/lib/port.rb
+++ b/lib/port.rb
@@ -16,7 +16,7 @@ module Dataflow
       include Enumerable
       def each
         s = self
-        while 1
+        loop do
           yield s.head
           s = s.tail
         end
Changed "while 1" to "loop do"