Skip to content

Commit d7ec839

Browse files
authored
Merge pull request #2867 from sampersand/swesterman/2026-03-05/rename-from-Elem-to-T
update rbs signatures to be more consistent with generics
2 parents 41b803b + 7fff874 commit d7ec839

19 files changed

Lines changed: 398 additions & 398 deletions

File tree

core/array.rbs

Lines changed: 144 additions & 144 deletions
Large diffs are not rendered by default.

core/builtin.rbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,12 @@ interface _Inspect
170170
def inspect: () -> String
171171
end
172172

173-
interface _Each[out E, out R = void]
174-
def each: () { (E) -> void } -> R
173+
interface _Each[out T, out R = void]
174+
def each: () { (T) -> void } -> R
175175
end
176176

177-
interface _EachEntry[out E]
178-
def each_entry: () { (E) -> void } -> self
177+
interface _EachEntry[out T]
178+
def each_entry: () { (T) -> void } -> self
179179
end
180180

181181
interface _Reader

0 commit comments

Comments
 (0)