From e456424bb37517ab74839d510d16958924df7fe5 Mon Sep 17 00:00:00 2001 From: Patrick Marks Date: Tue, 21 Jan 2025 15:40:39 +0100 Subject: [PATCH] Out of date comment in overview *Like* an input, the new for a tracked struct only requires a &-reference to the database: --- book/src/overview.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book/src/overview.md b/book/src/overview.md index efeb5eef..7ab74d9a 100644 --- a/book/src/overview.md +++ b/book/src/overview.md @@ -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`, and the `new` for a tracked struct only requires a `&`-reference to the database: ```rust #[salsa::tracked]