diff --git a/Cargo.toml b/Cargo.toml index bbb2023..c61992f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ insta = { version = "1.43.1", features = ["yaml"] } percent-encoding = "2.3.1" pyo3 = "0.25.0" pyo3-build-config = { version = "0.25.0", features = ["resolve-config"] } -salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "7edce6e248f35c8114b4b021cdb474a3fb2813b3" } +salsa = "0.23.0" serde = { version = "1.0.219", features = ["derive"] } serde_json = "1.0.140" tempfile = "3.20.0" diff --git a/crates/djls-server/src/documents.rs b/crates/djls-server/src/documents.rs index 4725662..c45cf3f 100644 --- a/crates/djls-server/src/documents.rs +++ b/crates/djls-server/src/documents.rs @@ -157,11 +157,11 @@ impl Store { #[salsa::input(debug)] pub struct TextDocument { - #[return_ref] + #[returns(ref)] uri: String, - #[return_ref] + #[returns(ref)] contents: String, - #[return_ref] + #[returns(ref)] index: LineIndex, version: i32, language_id: LanguageId,