We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e28ef commit 2d3e108Copy full SHA for 2d3e108
src/cmd/src/datanode.rs
@@ -221,7 +221,7 @@ mod tests {
221
assert_eq!(Duration::from_secs(600), dn_opts.wal.purge_interval);
222
assert_eq!(1024 * 1024 * 1024, dn_opts.wal.file_size.0);
223
assert_eq!(1024 * 1024 * 1024 * 50, dn_opts.wal.purge_threshold.0);
224
- assert_eq!(false, dn_opts.wal.sync_write);
+ assert!(!dn_opts.wal.sync_write);
225
assert_eq!(Some(42), dn_opts.node_id);
226
let MetaClientOpts {
227
metasrv_addrs: metasrv_addr,
src/common/base/src/lib.rs
@@ -15,6 +15,7 @@
15
pub mod bit_vec;
16
pub mod buffer;
17
pub mod bytes;
18
+#[allow(clippy::all)]
19
pub mod readable_size;
20
21
pub use bit_vec::BitVec;
0 commit comments