Commit Graph

20 Commits

Author SHA1 Message Date
joboet c14d137bfc std: update internal uses of io::const_error! 2024-11-26 18:38:24 +01:00
Nicholas Nethercote 84ac80f192 Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
2024-07-29 08:26:52 +10:00
Tristan Guichaoua af9f632be7 fix issue number 2024-06-21 10:57:07 +02:00
Linus Färnstrand 6cb34492a6 Move IpAddr and SocketAddr to core 2023-02-26 13:50:08 +01:00
tyggja 7fe1622b71 Update mod.rs 2022-10-31 12:17:30 -04:00
Markus Reiter f7e8ba28a4 Flatten net module again. 2022-09-12 19:04:17 +02:00
Markus Reiter a1e4a339ed Move net::parser into net::addr module. 2022-09-12 19:04:17 +02:00
Markus Reiter 96b44f6f65 Use DisplayBuffer for socket addresses. 2022-09-12 19:04:16 +02:00
Berend-Jan Lange 786e8755e7 created tcpstream quickack trait
for linux and android
2022-08-13 17:38:01 +02:00
Linus Färnstrand 8cd7351962 Remove ntohs/htons in favor of to_be/from_be 2022-06-23 21:01:58 +02:00
Dylan DPC 4c70200476 Rollup merge of #88805 - krhancoc:master, r=dtolnay
Clarification of default socket flags

This PR outlines the decision to disable inheritance of socket objects when possible to child processes in the documentation.
2022-03-04 02:06:37 +01:00
Thom Chiovoloni 554918e311 Hide Repr details from io::Error, and rework io::Error::new_const. 2022-02-04 18:47:29 -08:00
Ibraheem Ahmed f88b501914 fix stability attribute for tcp::IntoIncoming 2022-01-13 16:04:02 -05:00
Ibraheem Ahmed 1e53a905ba export tcp::IntoIncoming 2022-01-08 23:48:50 -05:00
Frank Steffahn 67065fe933 Apply 16 commits (squashed)
----------

Fix spacing for links inside code blocks, and improve link tooltips in alloc::fmt

----------

Fix spacing for links inside code blocks, and improve link tooltips in alloc::{rc, sync}

----------

Fix spacing for links inside code blocks, and improve link tooltips in alloc::string

----------

Fix spacing for links inside code blocks in alloc::vec

----------

Fix spacing for links inside code blocks in core::option

----------

Fix spacing for links inside code blocks, and improve a few link tooltips in core::result

----------

Fix spacing for links inside code blocks in core::{iter::{self, iterator}, stream::stream, poll}

----------

Fix spacing for links inside code blocks, and improve a few link tooltips in std::{fs, path}

----------

Fix spacing for links inside code blocks in std::{collections, time}

----------

Fix spacing for links inside code blocks in and make formatting of `&str`-like types consistent in std::ffi::{c_str, os_str}

----------

Fix spacing for links inside code blocks, and improve link tooltips in std::ffi

----------

Fix spacing for links inside code blocks, and improve a few link tooltips
in std::{io::{self, buffered::{bufreader, bufwriter}, cursor, util}, net::{self, addr}}

----------

Fix typo in link to `into` for `OsString` docs

----------

Remove tooltips that will probably become redundant in the future

----------

Apply suggestions from code review

Replacing `…std/primitive.reference.html` paths with just `reference`

Co-authored-by: Joshua Nelson <github@jyn.dev>

----------

Also replace `…std/primitive.reference.html` paths with just `reference` in `core::pin`
2021-09-25 20:04:35 +02:00
Ryan Hancock a10f0954c0 Run fmt 2021-09-09 20:11:38 -04:00
Ryan Hancock 3b4861e432 Clarification of default socket flags used by Rust 2021-09-09 20:05:48 -04:00
Mara Bos 7b71719faf Use io::Error::new_const everywhere to avoid allocations. 2021-03-21 20:22:38 +01:00
Alexis Bourget 15cad1c465 Move to intra doc links in std::net 2020-08-15 19:17:19 +02:00
mark 2c31b45ae8 mv std libs to library/ 2020-07-27 19:51:13 -05:00