fix: Allow dead code temporarily while partition is being refactored

pull/24376/head
Carol (Nichols || Goulding) 2020-03-27 09:23:51 -04:00
parent 48954424e1
commit fed0a5e8b0
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![allow(dead_code)]
use crate::delorean::{Node, Predicate, TimestampRange};
use crate::line_parser::{ParseError, Point, PointType};
use crate::storage::partitioned_store::{ReadBatch, ReadValues};

View File

@ -80,6 +80,7 @@ struct StreamState<'a, T> {
}
impl StringMergeStream<'_> {
#[allow(dead_code)]
fn new(streams: Vec<BoxStream<'_, String>>) -> StringMergeStream<'_> {
let states = streams
.into_iter()
@ -165,6 +166,7 @@ pub struct ReadMergeStream<'a> {
}
impl ReadMergeStream<'_> {
#[allow(dead_code)]
fn new(streams: Vec<BoxStream<'_, ReadBatch>>) -> ReadMergeStream<'_> {
let states = streams
.into_iter()