mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-08-03 16:39:16 +00:00
improve import cycle diagnostic (very cool now) and improve some code boundaries
This commit is contained in:
parent
b604140abc
commit
ead5486374
9 changed files with 334 additions and 205 deletions
|
@ -92,6 +92,12 @@ impl Display for NormalizedPathBuf {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<NormalizedPathBuf> for Url {
|
||||
fn from(val: NormalizedPathBuf) -> Self {
|
||||
Url::from_file_path(val).unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Url> for NormalizedPathBuf {
|
||||
#[cfg(target_family = "windows")]
|
||||
fn from(u: Url) -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue