mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 12:56:33 +00:00
Merge pull request #659 from pmarks/patch-1
Out of date comment in overview
This commit is contained in:
commit
05445ffede
1 changed files with 1 additions and 2 deletions
|
@ -163,8 +163,7 @@ struct Ast<'db> {
|
|||
}
|
||||
```
|
||||
|
||||
Just as with an input, new values are created by invoking `Ast::new`.
|
||||
Unlike with an input, 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
|
||||
#[salsa::tracked]
|
||||
|
|
Loading…
Reference in a new issue