Skip to content

Commit

Permalink
I'll be postponing all of that, tyvm
Browse files Browse the repository at this point in the history
  • Loading branch information
kotauskas committed May 4, 2024
1 parent b9003f6 commit 6ca63d2
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/local_socket/stream/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`].
Expand Down
2 changes: 1 addition & 1 deletion src/local_socket/tokio/listener/enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/named_pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/named_pipe/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Rm: PipeModeTag, Sm: PipeModeTag> {
config: PipeListenerOptions<'static>, // We need the options to create new instances
nonblocking: AtomicBool,
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/named_pipe/tokio/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub type SendPipeStream<M> = PipeStream<pipe_mode::None, M>;

pub(crate) struct RawPipeStream {
inner: Option<InnerTokio>,
// 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
Expand Down
2 changes: 1 addition & 1 deletion src/os/windows/named_pipe/tokio/stream/impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ impl<Rm: PipeModeTag, Sm: PipeModeTag> PipeStream<Rm, Sm> {
(
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 {
Expand Down
4 changes: 2 additions & 2 deletions src/os/windows/unnamed_pipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/local_socket.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/tokio_local_socket.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 6ca63d2

Please sign in to comment.