mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-02-02 09:46:06 +00:00
Update book/src/overview.md
Co-authored-by: David Barsky <me@davidbarsky.com>
This commit is contained in:
parent
e456424bb3
commit
cd35eb2bc7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ struct Ast<'db> {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Just as with an input, new values are created by invoking `Ast::new`, and the `new` for a tracked struct only requires a `&`-reference to the database:
|
Just as with an input, new values are created by invoking `Ast::new`. The `new` function on a tracked struct only requires a `&`-reference to the database:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
#[salsa::tracked]
|
#[salsa::tracked]
|
||||||
|
|
Loading…
Reference in a new issue