refactor: update read_buffer/src/column/encoding/scalar/transcoders.rs
Co-authored-by: Dom <dom@itsallbroken.com>pull/24376/head
parent
22c7592e3b
commit
418cc4cf0e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue