Skip to content

Commit 17d2e8d

Browse files
committed
internal: remove tracing/mod.rs
1 parent d923d62 commit 17d2e8d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

crates/rust-analyzer/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ mod handlers {
3737
pub(crate) mod request;
3838
}
3939

40+
pub mod tracing {
41+
pub mod config;
42+
pub use config::Config;
43+
pub mod hprof;
44+
}
45+
4046
pub mod config;
4147
pub mod lsp;
42-
pub mod tracing;
4348
use self::lsp::ext as lsp_ext;
4449

4550
#[cfg(test)]

crates/rust-analyzer/src/tracing/mod.rs renamed to crates/rust-analyzer/src/tracing/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use tracing_subscriber::{
1414
};
1515
use tracing_tree::HierarchicalLayer;
1616

17-
pub mod hprof;
17+
use crate::tracing::hprof;
1818

1919
pub struct Config<T> {
2020
pub writer: T,

0 commit comments

Comments
 (0)