Skip to content

Commit 733d06f

Browse files
committed
spawn_async_with_fds: Mark as unsafe
1 parent 4e66a7e commit 733d06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib/src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pub fn spawn_async_with_fds<P: AsRef<std::path::Path>>(
135135
#[cfg(not(windows))]
136136
#[cfg_attr(docsrs, doc(cfg(not(windows))))]
137137
#[doc(alias = "g_spawn_async_with_pipes")]
138-
pub fn spawn_async_with_pipes<
138+
pub unsafe fn spawn_async_with_pipes<
139139
P: AsRef<std::path::Path>,
140140
T: FromRawFd,
141141
U: FromRawFd,

0 commit comments

Comments
 (0)