From 713878b162630be73e868310c7b934c8af1061f2 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 a483f0db34be..9a36169f110e 100644 --- a/glib/src/functions.rs +++ b/glib/src/functions.rs @@ -131,7 +131,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,