Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Jul 11, 2024
1 parent 473d794 commit 7fefbcc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/irust/src/irust/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -875,10 +875,7 @@ enum Dir {
// helper functions

fn incomplete_input(buffer: &str) -> bool {
StringTools::unmatched_brackets(buffer)
|| buffer
.trim_end()
.ends_with([':', '.', '='])
StringTools::unmatched_brackets(buffer) || buffer.trim_end().ends_with([':', '.', '='])
}

fn input_is_cmd_or_shell(buffer: &str) -> bool {
Expand Down

0 comments on commit 7fefbcc

Please sign in to comment.