refactor: update read_buffer/src/column/encoding/scalar/transcoders.rs

Co-authored-by: Dom <dom@itsallbroken.com>
pull/24376/head
Edd Robinson 2021-06-03 14:02:16 +01:00 committed by GitHub
parent 22c7592e3b
commit 418cc4cf0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ impl Display for ByteTrimmer {
#[derive(Debug)] #[derive(Debug)]
pub struct FloatByteTrimmer {} pub struct FloatByteTrimmer {}
macro_rules! make_float_trimmer { macro_rules! make_float_trimmer {
($type:ident) => { ($type:ty) => {
#[allow(clippy::float_cmp)] #[allow(clippy::float_cmp)]
impl Transcoder<$type, f64> for FloatByteTrimmer { impl Transcoder<$type, f64> for FloatByteTrimmer {
fn encode(&self, v: f64) -> $type { fn encode(&self, v: f64) -> $type {