1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove trailing whitespaces

This commit is contained in:
Maxime Chevalier-Boisvert 2021-03-11 14:15:01 -05:00 committed by Alan Wu
parent cf011b6676
commit fe3bd57007
3 changed files with 3 additions and 3 deletions

View file

@ -158,7 +158,7 @@ assert_equal '1', %q{
retval retval
} }
# Method redefinition (code invalidation) and GC # Method redefinition (code invalidation) and GC
assert_equal '7', %q{ assert_equal '7', %q{
def bar() def bar()
return 5 return 5

View file

@ -116,7 +116,7 @@ rb_darray_buffer_size(int32_t capacity, size_t header_size, size_t element_size)
// Internal function // Internal function
// Ensure there is space for one more element. Return 1 on success and 0 on failure. // Ensure there is space for one more element. Return 1 on success and 0 on failure.
// Note: header_size can be bigger than sizeof(rb_darray_meta_t) when T is __int128_t, for example. // Note: header_size can be bigger than sizeof(rb_darray_meta_t) when T is __int128_t, for example.
static inline int static inline int
rb_darray_ensure_space(void *ptr_to_ary, size_t header_size, size_t element_size) rb_darray_ensure_space(void *ptr_to_ary, size_t header_size, size_t element_size)
{ {
rb_darray_meta_t **ptr_to_ptr_to_meta = ptr_to_ary; rb_darray_meta_t **ptr_to_ptr_to_meta = ptr_to_ary;

View file

@ -20,7 +20,7 @@ RubyVM::Instructions = RubyVM::BareInstructions.to_a + \
RubyVM::InstructionsUnifications.to_a + \ RubyVM::InstructionsUnifications.to_a + \
RubyVM::MicroJIT::ExampleInstructions.to_a RubyVM::MicroJIT::ExampleInstructions.to_a
require_relative 'trace_instructions' require_relative 'trace_instructions'
RubyVM::Instructions.freeze RubyVM::Instructions.freeze