From 77ba6b79be0c14483eac5ea683ab1b5dcf581058 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Mon, 24 Mar 2025 18:15:57 +0200 Subject: update msrv-related todos --- src/main.rs | 1 + src/wm_info_provider.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 598864a..2e7aeb2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -109,6 +109,7 @@ fn main() -> anyhow::Result<()> { unreachable!(); } +// TODO: remove once Rust 1.87.0 is stable fn pipe(flags: libc::c_int) -> io::Result<[RawFd; 2]> { let mut fds = [0; 2]; if unsafe { libc::pipe2(fds.as_mut_ptr(), flags) } == -1 { diff --git a/src/wm_info_provider.rs b/src/wm_info_provider.rs index eb8b51a..0e3252c 100644 --- a/src/wm_info_provider.rs +++ b/src/wm_info_provider.rs @@ -47,7 +47,7 @@ pub trait WmInfoProvider { ) { } - // TODO: remove once RFC3324 (dyn upcasting coercion) is stabilized + // TODO: remove once RFC3324 (dyn upcasting coercion) is stabilized (hopefully in Rust 1.86.0) fn as_any(&mut self) -> &mut dyn Any; } -- cgit v1.3.1