diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2020-09-14 16:41:25 -0300 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2020-09-15 18:13:33 -0400 |
| commit | 6651dfc4e49680e2bfe7cb817666534d26fa1eb3 (patch) | |
| tree | b6a1a16930237f3c39be6549064bf252d3d193e0 /src/doc/rustc-dev-guide | |
| parent | 699c4ea15d3abbea577b4d3e16e57f4d64ecf8c9 (diff) | |
| download | rust-6651dfc4e49680e2bfe7cb817666534d26fa1eb3.tar.gz rust-6651dfc4e49680e2bfe7cb817666534d26fa1eb3.zip | |
Complete text about salsa base inputs
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/salsa.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/doc/rustc-dev-guide/src/salsa.md b/src/doc/rustc-dev-guide/src/salsa.md index 8e2ba6dcb51..f884ecdda2c 100644 --- a/src/doc/rustc-dev-guide/src/salsa.md +++ b/src/doc/rustc-dev-guide/src/salsa.md @@ -32,7 +32,8 @@ see its type), completions, etc. ## How does it work? -The first thing that Salsa has to do is identify the "base inputs" [^EN1]. +The first thing that Salsa has to do is identify the "base inputs" that +are not something computed but given as input. Then Salsa has to also identify intermediate, "derived" values, which are something that the library produces, but, for each derived value there's a @@ -107,7 +108,7 @@ potentially invalidated. A query group is a set of queries which have been defined together as a unit. The database is formed by combining query groups. Query groups are akin to -"Salsa modules" [^EN2]. +"Salsa modules" [^EN1]. A set of queries in a query group are just a set of methods in a trait. @@ -212,6 +213,4 @@ fn main() { } ``` -[^EN1]: "They are not something that you **inaubible** but something that you kinda get **inaudible** from the outside [3:23](https://youtu.be/_muY4HjSqVw?t=203). - -[^EN2]: What is a Salsa module? +[^EN1]: What is a Salsa module? |
