And use the normal values for black and white in for_profiling

This commit is contained in:
itsjunetime
2025-06-05 17:30:27 -06:00
parent f0afd22ff5
commit f0a6e23f8a
+4 -1
View File
@@ -1,5 +1,8 @@
mod utils; mod utils;
const BLACK: i32 = 0;
const WHITE: i32 = i32::from_be_bytes([0, 0xff, 0xff, 0xff]);
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
#[cfg(feature = "tracing")] #[cfg(feature = "tracing")]
@@ -9,5 +12,5 @@ async fn main() {
.nth(1) .nth(1)
.expect("Please enter a file to profile"); .expect("Please enter a file to profile");
utils::render_doc(file, None, 0, 1000).await; utils::render_doc(file, None, BLACK, WHITE).await;
} }