Skip to content

Commit

Permalink
Merge pull request #273 from fox-forks/hyperupcall-rooturi
Browse files Browse the repository at this point in the history
fix: Add deprecation note for `rootUri`
  • Loading branch information
Marwes committed Dec 13, 2023
2 parents ccf64e2 + beec053 commit 5ff5765
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1081,9 +1081,8 @@ pub struct InitializeParams {
/// The rootUri of the workspace. Is null if no
/// folder is open. If both `rootPath` and `rootUri` are set
/// `rootUri` wins.
///
/// Deprecated in favour of `workspaceFolders`
#[serde(default)]
#[deprecated(note = "Use `workspace_folders` instead when possible")]
pub root_uri: Option<Url>,

/// User provided initialization options.
Expand Down

0 comments on commit 5ff5765

Please sign in to comment.