Skip to content

Commit 8ce8b24

Browse files
bump salsa crate from git hash to 0.23.0 (#165)
1 parent 8f50e27 commit 8ce8b24

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ insta = { version = "1.43.1", features = ["yaml"] }
1919
percent-encoding = "2.3.1"
2020
pyo3 = "0.25.0"
2121
pyo3-build-config = { version = "0.25.0", features = ["resolve-config"] }
22-
salsa = { git = "https://github.com/salsa-rs/salsa.git", rev = "7edce6e248f35c8114b4b021cdb474a3fb2813b3" }
22+
salsa = "0.23.0"
2323
serde = { version = "1.0.219", features = ["derive"] }
2424
serde_json = "1.0.140"
2525
tempfile = "3.20.0"

crates/djls-server/src/documents.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ impl Store {
157157

158158
#[salsa::input(debug)]
159159
pub struct TextDocument {
160-
#[return_ref]
160+
#[returns(ref)]
161161
uri: String,
162-
#[return_ref]
162+
#[returns(ref)]
163163
contents: String,
164-
#[return_ref]
164+
#[returns(ref)]
165165
index: LineIndex,
166166
version: i32,
167167
language_id: LanguageId,

0 commit comments

Comments
 (0)