mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-14 23:33:52 +01:00
feat: all parse in compilation
This commit is contained in:
parent
511b309d99
commit
53c7e1fd7b
8 changed files with 410 additions and 321 deletions
|
|
@ -1,6 +1,8 @@
|
|||
use crate::suggestions::split_command;
|
||||
use colored::*;
|
||||
|
||||
// to_string() is necessary here, otherwise there won't be color in the output
|
||||
#[warn(clippy::unnecessary_to_owned)]
|
||||
pub fn highlight_difference(suggested_command: &str, last_command: &str) -> String {
|
||||
let split_suggested_command = split_command(suggested_command);
|
||||
let split_last_command = split_command(last_command);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue