mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
fmt
I wish this was shorter, but oh well
This commit is contained in:
parent
2e14c32c5e
commit
40feed56cf
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue