From fe34ec137858d356ca766e1bce165f3864b0a7db Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Wed, 15 Mar 2023 13:45:06 +0100 Subject: [PATCH] Ruby: fix formatting errors --- ruby/extractor/src/extractor.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ruby/extractor/src/extractor.rs b/ruby/extractor/src/extractor.rs index 6c85706dce7..1ef9a1edcca 100644 --- a/ruby/extractor/src/extractor.rs +++ b/ruby/extractor/src/extractor.rs @@ -253,9 +253,10 @@ impl<'a> Visitor<'a> { end_line, end_column, ); - let mut mesg = self - .diagnostics_writer - .new_entry("parse-error", "Could not process some files due to syntax errors"); + let mut mesg = self.diagnostics_writer.new_entry( + "parse-error", + "Could not process some files due to syntax errors", + ); &mesg .severity(diagnostics::Severity::Warning) .location(self.path, start_line, start_column, end_line, end_column) @@ -367,7 +368,10 @@ impl<'a> Visitor<'a> { self.record_parse_error( loc, self.diagnostics_writer - .new_entry("parse-error", "Could not process some files due to syntax errors") + .new_entry( + "parse-error", + "Could not process some files due to syntax errors", + ) .severity(diagnostics::Severity::Warning) .location(self.path, start_line, start_column, end_line, end_column) .message(