From e4d89933423319636a5e744315b8933cfac3ee20 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Wed, 28 Dec 2022 20:19:28 +0100 Subject: [PATCH] spawn_async_with_fds: Mark as unsafe --- glib/src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/src/functions.rs b/glib/src/functions.rs index 521e90910d74..9fba1d300f84 100644 --- a/glib/src/functions.rs +++ b/glib/src/functions.rs @@ -132,7 +132,7 @@ pub fn spawn_async_with_fds, T: AsFd, U: AsFd, V: AsFd #[cfg(not(windows))] #[cfg_attr(docsrs, doc(cfg(not(windows))))] #[doc(alias = "g_spawn_async_with_pipes")] -pub fn spawn_async_with_pipes< +pub unsafe fn spawn_async_with_pipes< P: AsRef, T: FromRawFd, U: FromRawFd,