Gifs and screenshots for features in manual

This commit is contained in:
Ayomide Bamidele 2021-03-31 00:08:10 +01:00
parent 95107a7ccf
commit 276022682b
24 changed files with 44 additions and 0 deletions

View file

@ -23,6 +23,8 @@ pub struct ExpandedMacro {
//
// | VS Code | **Rust Analyzer: Expand macro recursively**
// |===
//
// image::https://user-images.githubusercontent.com/48062697/113020648-b3973180-917a-11eb-84a9-ecb921293dc5.gif[]
pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<ExpandedMacro> {
let sema = Semantics::new(db);
let file = sema.parse(position.file_id);