Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/rubyPublic

Commitc5e3eea

Browse files
Update enumerator.c
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
1 parent0929d18 commitc5e3eea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎enumerator.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3070,8 +3070,7 @@ producer_size(VALUE obj, VALUE args, VALUE eobj)
30703070
* }
30713071
* traverser.size # => 4
30723072
*
3073-
* # Enumerator known to be finite, but the size can't be easily
3074-
* # calculated:
3073+
* # Finite enumerator with unknown size
30753074
* calendar = Enumerator.produce(Date.today, size: nil) {
30763075
* it.monday? ? raise(StopIteration) : it + 1
30773076
* }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp