diff options
author | Aleksey Kladov <[email protected]> | 2019-11-24 14:34:36 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-24 14:36:06 +0000 |
commit | 21cfa6d529babf868f897b943d67561ea752b9e5 (patch) | |
tree | bb4e9795f9dc23d710f147faff02e9d8df596d87 /crates/ra_hir_def/src/nameres | |
parent | 99af523b68d3056c0ee355821b9b8f3c6fb5f504 (diff) |
Some docs
Diffstat (limited to 'crates/ra_hir_def/src/nameres')
-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 | ||