mirror of
https://github.com/nushell/nushell.git
synced 2025-05-16 16:04:30 +02:00
Polars: Minor code cleanup (#15144)
# Description Removing todos and deadcode from a previous refactor
This commit is contained in:
parent
8b46ba8b6b
commit
c504c93a1d
4
crates/nu_plugin_polars/src/cache/mod.rs
vendored
4
crates/nu_plugin_polars/src/cache/mod.rs
vendored
@ -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> {
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user