Skip to content

Commit 40c9600

Browse files
committed
More windows lints
1 parent c84f7c7 commit 40c9600

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libdd-profiling-ffi/src/exporter.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ unsafe fn try_to_url(slice: CharSlice) -> anyhow::Result<hyper::Uri> {
8080
}
8181
#[cfg(windows)]
8282
if let Some(path) = str.strip_prefix("windows:") {
83-
return Ok(exporter::named_pipe_path_to_uri(path.as_ref())?);
83+
use libdd_common::connector::named_pipe::named_pipe_path_to_uri;
84+
return Ok(named_pipe_path_to_uri(path.as_ref())?);
8485
}
8586
Ok(hyper::Uri::from_str(str)?)
8687
}

0 commit comments

Comments
 (0)