diff options
| author | Mason Reed <mason@vector35.com> | 2025-07-28 20:33:46 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-07-28 20:33:56 -0400 |
| commit | 464dda74bdfd75b498df367cbc19aebd907e36dc (patch) | |
| tree | e457c81602769b8089fe178b09dc95a22548afb6 | |
| parent | 490ffa62a86085c02c5a3bd857791a27e60d58b6 (diff) | |
[Rust] Misc formatting
| -rw-r--r-- | plugins/warp/tests/determinism.rs | 2 | ||||
| -rw-r--r-- | rust/src/binary_view.rs | 2 | ||||
| -rw-r--r-- | 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<P: ProgressCallback, C: FnMut(u64, &DataBuffer) -> 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; |
