mirror of
https://github.com/nushell/nushell
synced 2024-12-29 14:33:13 +00:00
Remove old code before fixing clippy's warning
This commit is contained in:
parent
8707fbee33
commit
304c7a0c92
1 changed files with 0 additions and 9 deletions
|
@ -88,15 +88,6 @@ fn format_helper(value: Value, formatter: &Spanned<String>, span: Span) -> Value
|
||||||
},
|
},
|
||||||
Err(e) => e,
|
Err(e) => e,
|
||||||
}
|
}
|
||||||
// if dt.is_ok() {
|
|
||||||
|
|
||||||
// Value::String {
|
|
||||||
// val: dt.unwrap().format(formatter.item.as_str()).to_string(),
|
|
||||||
// span,
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// dt.unwrap_err()
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
Value::Nothing { span: _ } => {
|
Value::Nothing { span: _ } => {
|
||||||
let dt = Local::now();
|
let dt = Local::now();
|
||||||
|
|
Loading…
Reference in a new issue