Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Aug 8, 2024
1 parent 8e8f8f8 commit 09fe41b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion benches/concurrency.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::sync::Arc;
use divan::Bencher;
use std::sync::Arc;

use hidefix::prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion benches/read.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use hidefix::prelude::*;
use divan::Bencher;
use hidefix::prelude::*;

#[divan::bench]
fn read_2d_chunked(b: Bencher) {
Expand Down
2 changes: 1 addition & 1 deletion benches/stream.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use divan::Bencher;
use futures::executor::block_on_stream;
use futures::{pin_mut, Stream, StreamExt};
use hidefix::prelude::*;
use divan::Bencher;

fn consume_stream<S: Stream>(rt: &mut tokio::runtime::Runtime, s: S) {
rt.block_on(async move {
Expand Down
2 changes: 1 addition & 1 deletion src/idx/dataset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mod tests {
use super::super::chunk::{Chunk, ULE};
use super::*;
use crate::filters::byteorder::Order as ByteOrder;
use divan::Bencher;
use itertools::izip;
use serde::{Deserialize, Serialize};
use divan::Bencher;

pub(crate) fn test_dataset() -> Dataset<'static, 2> {
Dataset::new(
Expand Down
2 changes: 1 addition & 1 deletion src/idx/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub mod chunks_u64s {
let chunks: &'a [Chunk<DE>] = Chunk::<DE>::slice_from_u64s(slice);
let chunks = Cow::<'a, [Chunk<DE>]>::from(chunks);

#[cfg(feature="unstable")]
#[cfg(feature = "unstable")]
debug_assert!(chunks.is_borrowed());

Ok(chunks)
Expand Down

0 comments on commit 09fe41b

Please sign in to comment.