Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jnises committed Nov 11, 2023
1 parent 40807d1 commit 4996009
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[package]
name = "colight"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.72"
clap = { version = "4.4.8", features = ["derive"] }
Expand Down
7 changes: 5 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ use colorous::COOL;
use scopeguard::defer;
use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor};

use crate::{ansi_stripper::AnsiStripReader, window_searcher::{WindowSearcher, SearchState}};
use crate::{
ansi_stripper::AnsiStripReader,
window_searcher::{SearchState, WindowSearcher},
};

/// Highlight characters in a stream based on how compressible they are
#[derive(Parser, Debug)]
Expand Down Expand Up @@ -180,7 +183,7 @@ ab
",
),
&mut s,
1024
1024,
)
.unwrap();
}
Expand Down
2 changes: 1 addition & 1 deletion src/window_searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ impl WindowSearcher {
pub(crate) fn flush(mut self) -> VecDeque<u8> {
std::mem::take(&mut self.needle)
}
}
}

0 comments on commit 4996009

Please sign in to comment.