summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2025-03-24 18:15:57 +0200
committerMaxVerevkin <maxxverrr@gmail.com>2025-03-24 18:15:57 +0200
commit77ba6b79be0c14483eac5ea683ab1b5dcf581058 (patch)
tree248e62fb7c6aae04e96548f12055e05527cb4d42 /src
parentfbc2a0bc56ab75affd8dc4277ad04940ce0d21a4 (diff)
downloadi3bar-mango-77ba6b79be0c14483eac5ea683ab1b5dcf581058.tar.gz
update msrv-related todos
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
-rw-r--r--src/wm_info_provider.rs2
2 files changed, 2 insertions, 1 deletions
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;
}