Update book/src/overview.md

Co-authored-by: David Barsky <me@davidbarsky.com>
This commit is contained in:
Niko Matsakis 2025-01-22 05:40:49 -05:00 committed by GitHub
parent e456424bb3
commit cd35eb2bc7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
#[salsa::tracked]