Content-Length: 262024 | pFad | http://redirect.github.com/nominolo/tokio/commit/7be2bfa74498ac66abe398eee7cf61ce177955d8

01 net: fix typo in miri comment (#7063) · nominolo/tokio@7be2bfa · GitHub
Skip to content

Commit

Permalink
net: fix typo in miri comment (tokio-rs#7063)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiif authored Jan 3, 2025
1 parent e066431 commit 7be2bfa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tokio/src/net/unix/datagram/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cfg_net_unix! {
//redirect.github.com/
//redirect.github.com/ Using unnamed sockets, created as a pair
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -406,7 +406,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ # Examples
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for socketpair in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -611,7 +611,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ # Examples
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -742,7 +742,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ # Examples
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -1010,7 +1010,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ # Examples
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -1503,7 +1503,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ For an unbound peer
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -1553,7 +1553,7 @@ impl UnixDatagram {
//redirect.github.com/
//redirect.github.com/ # Examples
//redirect.github.com/ ```
//redirect.github.com/ # if cfg!(miri) { return } // No `socketpair` in miri.
//redirect.github.com/ # if cfg!(miri) { return } // No SOCK_DGRAM for `socketpair` in miri.
//redirect.github.com/ # use std::error::Error;
//redirect.github.com/ # #[tokio::main]
//redirect.github.com/ # async fn main() -> Result<(), Box<dyn Error>> {
Expand Down

0 comments on commit 7be2bfa

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://redirect.github.com/nominolo/tokio/commit/7be2bfa74498ac66abe398eee7cf61ce177955d8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy