From 40feed56cfc082bea689772bc6c260b092853ce0 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 10 Jan 2024 20:59:45 +0100 Subject: [PATCH] fmt I wish this was shorter, but oh well --- fish-rust/src/fish_indent.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fish-rust/src/fish_indent.rs b/fish-rust/src/fish_indent.rs index 95dd58bea..6507d8e2c 100755 --- a/fish-rust/src/fish_indent.rs +++ b/fish-rust/src/fish_indent.rs @@ -647,7 +647,9 @@ impl<'source, 'ast> PrettyPrinterState<'source, 'ast> { // # something // cmd2 // Treat it as gap text. - let Some(range) = node.range() else { return; }; + let Some(range) = node.range() else { + return; + }; if range.length() == 0 { return; }