diff options
author | Ayomide Bamidele <[email protected]> | 2021-03-31 00:08:10 +0100 |
---|---|---|
committer | Ayomide Bamidele <[email protected]> | 2021-03-31 00:08:10 +0100 |
commit | 276022682b0b4745d44027a2f6c47f5e07cecbc3 (patch) | |
tree | ff0e4cde988fc722cc4792bbd61471e0458a06ff /crates/ide/src/expand_macro.rs | |
parent | 95107a7ccfcb27510884e2c4eaeba369854b4787 (diff) |
Gifs and screenshots for features in manual
Diffstat (limited to 'crates/ide/src/expand_macro.rs')
-rw-r--r-- | crates/ide/src/expand_macro.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide/src/expand_macro.rs b/crates/ide/src/expand_macro.rs index ffb3a6f7d..9eeabbeda 100644 --- a/crates/ide/src/expand_macro.rs +++ b/crates/ide/src/expand_macro.rs | |||
@@ -23,6 +23,8 @@ pub struct ExpandedMacro { | |||
23 | // | 23 | // |
24 | // | VS Code | **Rust Analyzer: Expand macro recursively** | 24 | // | VS Code | **Rust Analyzer: Expand macro recursively** |
25 | // |=== | 25 | // |=== |
26 | // | ||
27 | // image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[] | ||
26 | pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<ExpandedMacro> { | 28 | pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<ExpandedMacro> { |
27 | let sema = Semantics::new(db); | 29 | let sema = Semantics::new(db); |
28 | let file = sema.parse(position.file_id); | 30 | let file = sema.parse(position.file_id); |