From 464dda74bdfd75b498df367cbc19aebd907e36dc Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 28 Jul 2025 20:33:46 -0400 Subject: [Rust] Misc formatting --- plugins/warp/tests/determinism.rs | 2 +- rust/src/binary_view.rs | 2 +- rust/src/progress.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/warp/tests/determinism.rs b/plugins/warp/tests/determinism.rs index 76c666a1..e0568794 100644 --- a/plugins/warp/tests/determinism.rs +++ b/plugins/warp/tests/determinism.rs @@ -18,7 +18,7 @@ static TARGET_FILES: [&str; 10] = [ "atof.obj", "atoldbl.obj", "atox.obj", - "ls" + "ls", ]; #[test] diff --git a/rust/src/binary_view.rs b/rust/src/binary_view.rs index a4a6b6cb..8eb822f7 100644 --- a/rust/src/binary_view.rs +++ b/rust/src/binary_view.rs @@ -242,7 +242,7 @@ pub trait BinaryViewExt: BinaryViewBase { } /// Search the view using the query options. - /// + /// /// In the `on_match` callback return `false` to stop searching. fn search_with_progress bool>( &self, diff --git a/rust/src/progress.rs b/rust/src/progress.rs index e6897e68..6280a7b6 100644 --- a/rust/src/progress.rs +++ b/rust/src/progress.rs @@ -2,9 +2,9 @@ use std::ffi::c_void; pub trait ProgressCallback: Sized { type SplitProgressType: SplitProgressBuilder; - + /// Caller function will call this to report progress. - /// + /// /// Return `false` to tell the caller to stop. fn progress(&mut self, progress: usize, total: usize) -> bool; -- cgit v1.3.1