Skip to content

Commit

Permalink
Fix clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Sep 12, 2024
1 parent 0dc0a4f commit 3e89908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/compression/lz4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl<S> Lz4Decoder<S> {

fn calc_checksum(buffer: &[u8]) -> u128 {
let hash = cityhash_102_128(buffer);
hash << 64 | hash >> 64
hash.rotate_right(64)
}

fn decompress(compressed: &[u8], uncompressed: &mut [u8]) -> Result<usize> {
Expand Down
6 changes: 3 additions & 3 deletions tests/it/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ use serde::{Deserialize, Serialize};
#[serde(rename_all = "camelCase")]
struct RenameRow {
#[serde(rename = "fix_id")]
pub fix_id: i64,
pub(crate) fix_id: i64,
#[serde(rename = "extComplexId")]
pub complex_id: String,
pub ext_float: f64,
pub(crate) complex_id: String,
pub(crate) ext_float: f64,
}

async fn create_rename_table(client: &Client, table_name: &str) {
Expand Down

0 comments on commit 3e89908

Please sign in to comment.