Skip to content

Commit 66b6db7

Browse files
committed
Update or remove invalid code links in book
1 parent c0fdfc3 commit 66b6db7

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

book/src/plumbing/fetch.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Fetch
22

3-
```rust,no_run,noplayground
4-
{{#include ../../../src/plumbing.rs:fetch}}
5-
```
6-
73
The `fetch` operation computes the value of a query. It prefers to reuse memoized values when it can.
84

95
## Input queries

book/src/plumbing/maybe_changed_after.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Maybe changed after
22

3-
```rust,no_run,noplayground
4-
{{#include ../../../src/plumbing.rs:maybe_changed_after}}
5-
```
6-
73
The `maybe_changed_after` operation computes whether a query's value *may have changed* **after** the given revision. In other words, `Q.maybe_change_since(R)` is true if the value of the query `Q` may have changed in the revisions `(R+1)..R_now`, where `R_now` is the current revision. Note that it doesn't make sense to ask `maybe_changed_after(R_now)`.
84

95
## Input queries

book/src/plumbing/query_ops.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# Query operations
22

3-
Each of the query storage struct implements the `QueryStorageOps` trait found in the [`plumbing`] module:
4-
5-
```rust,no_run,noplayground
6-
{{#include ../../../src/plumbing.rs:QueryStorageOps}}
7-
```
8-
9-
which defines the basic operations that all queries support. The most important are these two:
3+
The most important basic operations that all queries support are:
104

115
* [maybe changed after](./maybe_changed_after.md): Returns true if the value of the query (for the given key) may have changed since the given revision.
126
* [Fetch](./fetch.md): Returns the up-to-date value for the given K (or an error in the case of an "unrecovered" cycle).
13-
14-
[`plumbing`]: https://github.com/salsa-rs/salsa/blob/master/src/plumbing.rs

0 commit comments

Comments
 (0)