mirror of
https://github.com/nushell/nushell.git
synced 2024-12-16 12:12:19 +01:00
Remove old code before fixing clippy's warning
This commit is contained in:
parent
8707fbee33
commit
304c7a0c92
@ -88,15 +88,6 @@ fn format_helper(value: Value, formatter: &Spanned<String>, span: Span) -> Value
|
||||
},
|
||||
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: _ } => {
|
||||
let dt = Local::now();
|
||||
|
Loading…
Reference in New Issue
Block a user