Skip to content

Commit 4dd7169

Browse files
committed
Fix unresolved links in doc
1 parent 99f543b commit 4dd7169

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

wslplugins-rs/src/api/wsl_command.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
use typed_path::Utf8UnixPath;
22

3+
#[cfg(doc)]
4+
use super::super::api::Error as ApiError;
35
use super::super::api::{ApiV1, Result as ApiResult};
46
use crate::{DistributionID, WSLSessionInformation};
57
use std::net::TcpStream;
8+
#[cfg(doc)]
9+
use windows::core::GUID;
610

711
/// Represents a command to be executed in WSL.
812
///
@@ -133,7 +137,7 @@ impl<'a> WSLCommand<'a> {
133137
/// This method determines the API call to be used based on the [`DistributionID`]:
134138
/// - If [`DistributionID::System`], the method invokes [`execute_binary`](super::ApiV1::execute_binary).
135139
/// - If [`DistributionID::User`], it invokes [`execute_binary_in_distribution`](super::ApiV1::execute_binary_in_distribution)
136-
/// with the associated [`GUID`].
140+
/// with the associated [GUID].
137141
///
138142
/// # Returns
139143
/// - On success, it returns a [`TcpStream`] connected to the executed process, enabling interaction

0 commit comments

Comments
 (0)