diff options
author | Lukas Wirth <[email protected]> | 2021-03-02 13:41:01 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-03-02 13:41:01 +0000 |
commit | 8d305680e6560debaf7868c160112e07a7bea8a0 (patch) | |
tree | 4a06ed72efdbb98a535476fc6192599e2c0701a4 /crates/ide_db/src/helpers | |
parent | f5c25f6b83400847f26f2acaeda1dc85bacb807c (diff) |
Show docs on hover for keywords and primitives
Diffstat (limited to 'crates/ide_db/src/helpers')
-rw-r--r-- | crates/ide_db/src/helpers/famous_defs_fixture.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs index bb4e9666b..d3464ae17 100644 --- a/crates/ide_db/src/helpers/famous_defs_fixture.rs +++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs | |||
@@ -129,3 +129,11 @@ pub mod prelude { | |||
129 | } | 129 | } |
130 | #[prelude_import] | 130 | #[prelude_import] |
131 | pub use prelude::*; | 131 | pub use prelude::*; |
132 | //- /libstd.rs crate:std deps:core | ||
133 | //! Signatures of traits, types and functions from the std lib for use in tests. | ||
134 | |||
135 | /// Docs for return_keyword | ||
136 | mod return_keyword {} | ||
137 | |||
138 | /// Docs for prim_str | ||
139 | mod prim_str {} | ||