diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-24 14:36:31 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-24 14:36:31 +0000 |
commit | 775bd98e5cf7918acf0dd72009ac14cf758ed0ca (patch) | |
tree | bb4e9795f9dc23d710f147faff02e9d8df596d87 /crates/ra_hir_def/src/nameres/raw.rs | |
parent | 5cc634fa6018b60c7bac5ada2038ca341a91f410 (diff) | |
parent | 21cfa6d529babf868f897b943d67561ea752b9e5 (diff) |
Merge #2385
2385: Some docs r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/raw.rs')
-rw-r--r-- | crates/ra_hir_def/src/nameres/raw.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres/raw.rs b/crates/ra_hir_def/src/nameres/raw.rs index 198578753..2ec84f2cc 100644 --- a/crates/ra_hir_def/src/nameres/raw.rs +++ b/crates/ra_hir_def/src/nameres/raw.rs | |||
@@ -1,4 +1,9 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! Lowers syntax tree of a rust file into a raw representation of containing |
2 | //! items, *without* attaching them to a module structure. | ||
3 | //! | ||
4 | //! That is, raw items don't have semantics, just as syntax, but, unlike syntax, | ||
5 | //! they don't change with trivial source code edits, making them a great tool | ||
6 | //! for building salsa recomputation firewalls. | ||
2 | 7 | ||
3 | use std::{ops::Index, sync::Arc}; | 8 | use std::{ops::Index, sync::Arc}; |
4 | 9 | ||