Skip to content

Commit 5d08378

Browse files
committed
fix: return root_uri() as Url instead
1 parent c23782f commit 5d08378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp-types/src/initialize_params.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ impl InitializeBuild {
9595
}
9696

9797
/// Get a reference to the bsp initialize build params's root uri.
98-
pub fn root_uri(&self) -> &str {
99-
self.root_uri.as_ref()
98+
pub fn root_uri(&self) -> &Url {
99+
&self.root_uri
100100
}
101101

102102
/// Get a reference to the bsp initialize build params's root uri.

0 commit comments

Comments
 (0)