mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 14:01:15 -03:00
fmt
I wish this was shorter, but oh well
This commit is contained in:
@@ -647,7 +647,9 @@ fn visit_maybe_newlines(&mut self, node: &ast::MaybeNewlines) {
|
||||
// # 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user