Skip to content

Commit 77e09b1

Browse files
committedSep 24, 2024
perf: Trace completion span
1 parent 67b664e commit 77e09b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/bin/cargo/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fn main() {
3131

3232
let nightly_features_allowed = matches!(&*features::channel(), "nightly" | "dev");
3333
if nightly_features_allowed {
34+
let _span = tracing::span!(tracing::Level::TRACE, "completions").entered();
3435
let args = std::env::args_os();
3536
let current_dir = std::env::current_dir().ok();
3637
let completer =

0 commit comments

Comments
 (0)