Skip to content

Commit

Permalink
perf: Trace completion span
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 24, 2024
1 parent 67b664e commit 77e09b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/cargo/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ fn main() {

let nightly_features_allowed = matches!(&*features::channel(), "nightly" | "dev");
if nightly_features_allowed {
let _span = tracing::span!(tracing::Level::TRACE, "completions").entered();
let args = std::env::args_os();
let current_dir = std::env::current_dir().ok();
let completer =
Expand Down

0 comments on commit 77e09b1

Please sign in to comment.