diff options
author | Aleksey Kladov <[email protected]> | 2020-12-17 11:29:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-18 16:28:48 +0000 |
commit | 55ba353b39db1e9d850f1df943ab6a16e7c15838 (patch) | |
tree | c29c3a31ea9e046d2767dfc189e0ab77b8ffdafe /crates/ide/src/display.rs | |
parent | 2465fa02b7aa268d7d711b81417e7717427217c3 (diff) |
Don't expose SyntaxKind from IDE API
SyntaxKind is somewhat of an internal type, but IDE is using it to
basically specify an icon. Let's have a dedicated entity for this
instead.
Diffstat (limited to 'crates/ide/src/display.rs')
-rw-r--r-- | crates/ide/src/display.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide/src/display.rs b/crates/ide/src/display.rs index 0650915c5..bae9e40df 100644 --- a/crates/ide/src/display.rs +++ b/crates/ide/src/display.rs | |||
@@ -1,10 +1,9 @@ | |||
1 | //! This module contains utilities for turning SyntaxNodes and HIR types | 1 | //! This module contains utilities for turning SyntaxNodes and HIR types |
2 | //! into types that may be used to render in a UI. | 2 | //! into types that may be used to render in a UI. |
3 | 3 | ||
4 | mod navigation_target; | 4 | pub(crate) mod navigation_target; |
5 | mod short_label; | 5 | mod short_label; |
6 | 6 | ||
7 | pub use navigation_target::NavigationTarget; | ||
8 | pub(crate) use navigation_target::{ToNav, TryToNav}; | 7 | pub(crate) use navigation_target::{ToNav, TryToNav}; |
9 | pub(crate) use short_label::ShortLabel; | 8 | pub(crate) use short_label::ShortLabel; |
10 | 9 | ||