File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RBS/Style:
3333 Exclude :
3434 - ' sig/**/*'
3535 - ' test/**/*'
36+ RBS/Style/EmptyArgument :
37+ Enabled : true
3638RBS/Style/InitializeReturnType :
3739 Enabled : true
3840
Original file line number Diff line number Diff line change @@ -784,7 +784,7 @@ class Dir
784784 # caveats.
785785 #
786786 def chdir : () -> Integer
787- | [T] { () -> T } -> T
787+ | [T] () { () -> T } -> T
788788
789789 # <!--
790790 # rdoc-file=dir.c
Original file line number Diff line number Diff line change @@ -629,5 +629,5 @@ module Enumerable[unchecked out Elem]
629629 # Needs to `require "set"` to use this method.
630630 #
631631 def to_set : () -> Set[Elem]
632- | [T] { (Elem) -> T } -> Set[T]
632+ | [T] () { (Elem) -> T } -> Set[T]
633633end
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ module DidYouMean
243243 # - requireables()
244244 # -->
245245 #
246- def self.requireables : -> Array[String]
246+ def self.requireables : () -> Array[String]
247247
248248 # <!--
249249 # rdoc-file=lib/did_you_mean/spell_checkers/require_path_checker.rb
You can’t perform that action at this time.
0 commit comments