From 6ca63d2b91f78d5b4fd78626d8f9a627ee92a20b Mon Sep 17 00:00:00 2001 From: Kotauskas Date: Sun, 5 May 2024 00:41:16 +0300 Subject: [PATCH] I'll be postponing all of that, tyvm --- src/local_socket/stream/enum.rs | 2 +- src/local_socket/tokio/listener/enum.rs | 2 +- src/os/windows/named_pipe.rs | 2 +- src/os/windows/named_pipe/listener.rs | 2 +- src/os/windows/named_pipe/tokio/stream.rs | 2 +- src/os/windows/named_pipe/tokio/stream/impl.rs | 2 +- src/os/windows/unnamed_pipe.rs | 4 ++-- tests/local_socket.rs | 2 +- tests/tokio_local_socket.rs | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/local_socket/stream/enum.rs b/src/local_socket/stream/enum.rs index 17425b3..fbcb4b3 100644 --- a/src/local_socket/stream/enum.rs +++ b/src/local_socket/stream/enum.rs @@ -155,7 +155,7 @@ multimacro! { dispatch_write, } -// TODO(2.0.1) maybe adjust the Debug of halves to mention that they're local sockets +// TODO(2.1.0) maybe adjust the Debug of halves to mention that they're local sockets mkenum!( /// Receive half of a local socket stream, obtained by splitting a [`Stream`]. diff --git a/src/local_socket/tokio/listener/enum.rs b/src/local_socket/tokio/listener/enum.rs index 13739e7..0a673f8 100644 --- a/src/local_socket/tokio/listener/enum.rs +++ b/src/local_socket/tokio/listener/enum.rs @@ -8,7 +8,7 @@ use std::io; impmod! {local_socket::dispatch_tokio as dispatch} -// TODO(2.0.1) borrowed split in examples +// TODO(2.0.2) borrowed split in examples mkenum!( /// Tokio-based local socket server, listening for connections. diff --git a/src/os/windows/named_pipe.rs b/src/os/windows/named_pipe.rs index 5b79945..e2c1343 100644 --- a/src/os/windows/named_pipe.rs +++ b/src/os/windows/named_pipe.rs @@ -34,7 +34,7 @@ //! counterparts, list important behavior implemented by Interprocess in their item-level //! documentation. -// TODO(2.0.1) improve docs and add examples +// TODO(2.0.2) improve docs and add examples // TODO(2.1.0) client impersonation // TODO(2.2.0) raw instance functionality // TODO(2.2.0) transactions diff --git a/src/os/windows/named_pipe/listener.rs b/src/os/windows/named_pipe/listener.rs index 89800c9..8d36aff 100644 --- a/src/os/windows/named_pipe/listener.rs +++ b/src/os/windows/named_pipe/listener.rs @@ -31,7 +31,7 @@ use windows_sys::Win32::{Foundation::ERROR_PIPE_CONNECTED, System::Pipes::Connec /// /// The only way to create a `PipeListener` is to use [`PipeListenerOptions`]. See its documentation /// for more. -// TODO(2.0.1) examples +// TODO(2.0.2) examples pub struct PipeListener { config: PipeListenerOptions<'static>, // We need the options to create new instances nonblocking: AtomicBool, diff --git a/src/os/windows/named_pipe/tokio/stream.rs b/src/os/windows/named_pipe/tokio/stream.rs index 4bc80e6..4a1c830 100644 --- a/src/os/windows/named_pipe/tokio/stream.rs +++ b/src/os/windows/named_pipe/tokio/stream.rs @@ -91,7 +91,7 @@ pub type SendPipeStream = PipeStream; pub(crate) struct RawPipeStream { inner: Option, - // TODO(2.0.1) crackhead specialization + // TODO(2.0.2) crackhead specialization // Cleared by the generic pipes rather than by the raw pipe stream, unlike in sync land. needs_flush: NeedsFlush, // MESSAGE READING DISABLED diff --git a/src/os/windows/named_pipe/tokio/stream/impl.rs b/src/os/windows/named_pipe/tokio/stream/impl.rs index 6dfa039..bf782f1 100644 --- a/src/os/windows/named_pipe/tokio/stream/impl.rs +++ b/src/os/windows/named_pipe/tokio/stream/impl.rs @@ -43,7 +43,7 @@ impl PipeStream { ( RecvPipeStream { raw: raw_a, - flush: None.into(), // PERF(2.0.1) the mutex is unnecessary for receivers + flush: None.into(), // PERF(2.0.2) the mutex is unnecessary for receivers _phantom: PhantomData, }, SendPipeStream { diff --git a/src/os/windows/unnamed_pipe.rs b/src/os/windows/unnamed_pipe.rs index f339084..78d3582 100644 --- a/src/os/windows/unnamed_pipe.rs +++ b/src/os/windows/unnamed_pipe.rs @@ -3,7 +3,7 @@ //! Currently, this consists of only the [`CreationOptions`] builder, but more might be //! added. -// TODO(2.0.1) add examples and tests +// TODO(2.0.2) add examples and tests use super::{security_descriptor::*, winprelude::*, FileHandle}; use crate::{ @@ -44,7 +44,7 @@ impl<'sd> CreationOptions<'sd> { buffer_size_hint: None, } } - // TODO(2.0.1) use macro + // TODO(2.0.2) use macro /// Specifies the pointer to the security descriptor for the pipe. /// /// See the [associated field](#structfield.security_descriptor) for more. diff --git a/tests/local_socket.rs b/tests/local_socket.rs index ea05ad4..d70b3a0 100644 --- a/tests/local_socket.rs +++ b/tests/local_socket.rs @@ -1,4 +1,4 @@ -// TODO(2.0.1) test various error conditions +// TODO(2.0.2) test various error conditions mod no_server; mod stream; diff --git a/tests/tokio_local_socket.rs b/tests/tokio_local_socket.rs index 2ec864b..a4e857f 100644 --- a/tests/tokio_local_socket.rs +++ b/tests/tokio_local_socket.rs @@ -1,4 +1,4 @@ -// TODO(2.0.1) test various error conditions +// TODO(2.0.2) test various error conditions #![cfg(feature = "tokio")] mod no_server;