summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/warp/tests/determinism.rs2
-rw-r--r--rust/src/binary_view.rs2
-rw-r--r--rust/src/progress.rs4
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;