Skip to content

Commit 16e67be

Browse files
committed
spawn_async_with_fds: Mark as unsafe
1 parent 7618659 commit 16e67be

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
@@ -131,7 +131,7 @@ pub fn spawn_async_with_fds<P: AsRef<std::path::Path>, T: AsFd, U: AsFd, V: AsFd
131131
#[cfg(not(windows))]
132132
#[cfg_attr(feature = "dox", doc(cfg(not(windows))))]
133133
#[doc(alias = "g_spawn_async_with_pipes")]
134-
pub fn spawn_async_with_pipes<
134+
pub unsafe fn spawn_async_with_pipes<
135135
P: AsRef<std::path::Path>,
136136
T: FromRawFd,
137137
U: FromRawFd,

0 commit comments

Comments
 (0)