From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 404FA1F770 for ; Wed, 2 Jan 2019 10:22:10 +0000 (UTC) From: Eric Wong To: ruby-io-splice@bogomips.org Subject: [PATCH] io/splice: fix mismatched indentation warnings Date: Wed, 2 Jan 2019 10:22:10 +0000 Message-Id: <20190102102210.10749-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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