Commit 2c6a8897 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Correct Doc::Scanner#look docs.

parent 7ec94653
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -42,8 +42,9 @@ module JsDuck
        @input.scan(@ident_pattern)
      end

      # Looks for the existance of pattern.  Returns true on success.
      # Doesn't advance the scan pointer.
      # Looks for the existance of pattern.  Returns the matching
      # string on success, nil on failure, but doesn't advance the
      # scan pointer.
      def look(re)
        @input.check(re)
      end