Skip to content

Commit 152cf10

Browse files
committed
Remove trailing spaces
1 parent 21f3ffe commit 152cf10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tool/auto-style.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def with_clean_env
191191
files = updated_files.select {|l|
192192
/^\d/ !~ l and /\.bat\z/ !~ l and
193193
(/\A(?:config|[Mm]akefile|GNUmakefile|README)/ =~ File.basename(l) or
194-
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|)\z/ =~ File.extname(l))
194+
/\A\z|\.(?:[chsy]|\d+|e?rb|tmpl|bas[eh]|z?sh|in|ma?k|def|src|trans|rdoc|ja|en|el|sed|awk|p[ly]|scm|mspec|html|rs)\z/ =~ File.extname(l))
195195
}
196196
files.select! {|n| File.file?(n) }
197197
files.reject! do |f|

zjit/src/codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ fn gen_fixnum_ge(asm: &mut Assembler, left: lir::Opnd, right: lir::Opnd) -> Opti
818818
fn gen_anytostring(asm: &mut Assembler, val: lir::Opnd, str: lir::Opnd, state: &FrameState) -> Option<lir::Opnd> {
819819
// Save PC
820820
gen_save_pc(asm, state);
821-
821+
822822
asm_comment!(asm, "call rb_obj_as_string_result");
823823
Some(asm.ccall(
824824
rb_obj_as_string_result as *const u8,

zjit/src/hir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ impl Function {
14401440
if self.is_a(str, types::String) {
14411441
self.make_equal_to(insn_id, str);
14421442
} else {
1443-
self.push_insn_id(block, insn_id);
1443+
self.push_insn_id(block, insn_id);
14441444
}
14451445
}
14461446
_ => { self.push_insn_id(block, insn_id); }

0 commit comments

Comments
 (0)