* [PATCH] io/splice: fix mismatched indentation warnings
@ 2019-01-02 10:22 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-01-02 10:22 UTC (permalink / raw)
To: ruby-io-splice
Ruby 2.6.0dev warns about these
---
lib/io/splice.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/io/splice.rb b/lib/io/splice.rb
index 8cd9db3..9188c30 100644
--- a/lib/io/splice.rb
+++ b/lib/io/splice.rb
@@ -89,8 +89,8 @@ module IO::Splice
end
rv
- ensure
- close.each { |io| io.close }
+ ensure
+ close.each { |io| io.close }
end
# splice the full amount specified from +src+ to +dst+
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-02 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-02 10:22 [PATCH] io/splice: fix mismatched indentation warnings Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/ruby_io_splice.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).