Skip to content

Commit ab20b8a

Browse files
committed
Lint
1 parent 65c0c54 commit ab20b8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/truffle/truffle/fiddle_backend.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def self.convert_ruby_to_native(type, val)
7474
Integer(val)
7575
when Fiddle::TYPE_FLOAT, Fiddle::TYPE_DOUBLE
7676
Float(val)
77-
else
77+
else
7878
raise "#{val.inspect} to type #{type}"
7979
end
8080
end
@@ -87,7 +87,7 @@ def self.convert_native_to_ruby(type, val)
8787
Fiddle::Pointer.new(Truffle::Interop.to_native(val))
8888
when Fiddle::TYPE_INT, Fiddle::TYPE_FLOAT, Fiddle::TYPE_DOUBLE
8989
val
90-
else
90+
else
9191
raise "#{val.inspect} from type #{type}"
9292
end
9393
end
@@ -219,7 +219,7 @@ def self.sym(*args)
219219
def self.[](*args)
220220
raise 'not implemented'
221221
end
222-
222+
223223
RTLD_LAZY = Truffle::Config['platform.dlopen.RTLD_LAZY']
224224
RTLD_NOW = Truffle::Config['platform.dlopen.RTLD_NOW']
225225
RTLD_GLOBAL = Truffle::Config['platform.dlopen.RTLD_GLOBAL']

0 commit comments

Comments
 (0)