Skip to content

Commit 464dda7

Browse files
committed
[Rust] Misc formatting
1 parent 490ffa6 commit 464dda7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

plugins/warp/tests/determinism.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static TARGET_FILES: [&str; 10] = [
1818
"atof.obj",
1919
"atoldbl.obj",
2020
"atox.obj",
21-
"ls"
21+
"ls",
2222
];
2323

2424
#[test]

rust/src/binary_view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub trait BinaryViewExt: BinaryViewBase {
242242
}
243243

244244
/// Search the view using the query options.
245-
///
245+
///
246246
/// In the `on_match` callback return `false` to stop searching.
247247
fn search_with_progress<P: ProgressCallback, C: FnMut(u64, &DataBuffer) -> bool>(
248248
&self,

rust/src/progress.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ use std::ffi::c_void;
22

33
pub trait ProgressCallback: Sized {
44
type SplitProgressType: SplitProgressBuilder;
5-
5+
66
/// Caller function will call this to report progress.
7-
///
7+
///
88
/// Return `false` to tell the caller to stop.
99
fn progress(&mut self, progress: usize, total: usize) -> bool;
1010

0 commit comments

Comments
 (0)