diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-23 14:40:13 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 18:40:13 +1300 |
commit | 3b567eb491e460e00a66fdea8054eeb083b5dafd (patch) | |
tree | 95475d23504adf491c2772d3b52303c824b44e31 /coverage | |
parent | da0e6b99c7bae9b1e4644fa8b053d3ed4d67be3f (diff) | |
download | ruby-3b567eb491e460e00a66fdea8054eeb083b5dafd.tar.gz |
[Bug #19459] Remove unnecessary always-true checks (#7362)
`length` is a required argument for `IO::Buffer#read` and
`IO::Buffer#write` methods, and `argc` is already checked with
`rb_check_arity`. Also fix the call-seq of `IO::Buffer#read`.
Diffstat (limited to 'coverage')
0 files changed, 0 insertions, 0 deletions