diff options
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index 8f0627558..cfbc44e8c 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -17,8 +17,6 @@ use std::process::Stdio; use std::time::SystemTime; use test_util::PathRef; -include!("../util/time.rs"); - mod http; mod lsp; @@ -442,7 +440,8 @@ async fn main() -> Result<()> { env::set_current_dir(test_util::root_path())?; let mut new_data = BenchResult { - created_at: utc_now().to_rfc3339_opts(chrono::SecondsFormat::Secs, true), + created_at: chrono::Utc::now() + .to_rfc3339_opts(chrono::SecondsFormat::Secs, true), sha1: test_util::run_collect( &["git", "rev-parse", "HEAD"], None, |