Remove old code before fixing clippy's warning

This commit is contained in:
Stefan Stanciulescu 2021-10-31 21:08:40 +01:00
parent 8707fbee33
commit 304c7a0c92

View file

@ -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();