[前][次][番号順一覧][スレッド一覧]

ruby-changes:68839

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:14:12 +0900 (JST)
Subject: [ruby-changes:68839] fe3bd57007 (master): Remove trailing whitespaces

https://git.ruby-lang.org/ruby.git/commit/?id=fe3bd57007

From fe3bd570072b35e47e03ea23e2bc42a4d8a7681d Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...>
Date: Thu, 11 Mar 2021 14:15:01 -0500
Subject: Remove trailing whitespaces

---
 bootstraptest/test_yjit.rb          | 2 +-
 darray.h                            | 2 +-
 tool/ruby_vm/models/instructions.rb | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb
index f7e1fe4a7e..eac75d38a5 100644
--- a/bootstraptest/test_yjit.rb
+++ b/bootstraptest/test_yjit.rb
@@ -158,7 +158,7 @@ assert_equal '1', %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_yjit.rb#L158
     retval
 }
 
-# Method redefinition (code invalidation) and GC 
+# Method redefinition (code invalidation) and GC
 assert_equal '7', %q{
     def bar()
         return 5
diff --git a/darray.h b/darray.h
index a86132d59a..71e2d7e6ce 100644
--- a/darray.h
+++ b/darray.h
@@ -116,7 +116,7 @@ rb_darray_buffer_size(int32_t capacity, size_t header_size, size_t element_size) https://github.com/ruby/ruby/blob/trunk/darray.h#L116
 // Internal function
 // 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.
-static inline int 
+static inline int
 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;
diff --git a/tool/ruby_vm/models/instructions.rb b/tool/ruby_vm/models/instructions.rb
index 065ac7dbf2..ecf9fe7b6b 100644
--- a/tool/ruby_vm/models/instructions.rb
+++ b/tool/ruby_vm/models/instructions.rb
@@ -20,7 +20,7 @@ RubyVM::Instructions = RubyVM::BareInstructions.to_a + \ https://github.com/ruby/ruby/blob/trunk/tool/ruby_vm/models/instructions.rb#L20
                        RubyVM::InstructionsUnifications.to_a + \
                        RubyVM::MicroJIT::ExampleInstructions.to_a
 
-                
+
 
 require_relative 'trace_instructions'
 RubyVM::Instructions.freeze
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]