Polars: Minor code cleanup (#15144)

# Description
Removing todos and deadcode from a previous refactor
This commit is contained in:
Jack Wright 2025-02-19 09:47:21 -08:00 committed by GitHub
parent 8b46ba8b6b
commit c504c93a1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 8 deletions

View File

@ -197,11 +197,11 @@ mod test {
impl EngineWrapper for &MockEngineWrapper {
fn get_env_var(&self, _key: &str) -> Option<String> {
todo!()
unimplemented!()
}
fn use_color(&self) -> bool {
todo!()
unimplemented!()
}
fn set_gc_disabled(&self, disabled: bool) -> Result<(), ShellError> {

View File

@ -6,8 +6,6 @@ pub const DEFAULT_ROWS: usize = 5;
// Converts a Vec<Value> to a Vec<Spanned<String>> with a Span marking the whole
// location of the columns for error referencing
// todo - fix
#[allow(dead_code)]
pub(crate) fn convert_columns(
columns: Vec<Value>,
span: Span,
@ -49,8 +47,6 @@ pub(crate) fn convert_columns(
// Converts a Vec<Value> to a Vec<String> with a Span marking the whole
// location of the columns for error referencing
// todo - fix
#[allow(dead_code)]
pub(crate) fn convert_columns_string(
columns: Vec<Value>,
span: Span,
@ -92,8 +88,6 @@ pub(crate) fn convert_columns_string(
// Converts a Vec<Value> to a Vec<String> with a Span marking the whole
// location of the columns for error referencing
// todo - fix
#[allow(dead_code)]
pub(crate) fn convert_columns_sm_str(
columns: Vec<Value>,
span: Span,