<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sys/pal/windows/stdio.rs, branch 1.86.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.86.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.86.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-01-12T04:57:00+00:00</updated>
<entry>
<title>Add inherent versions of MaybeUninit methods for slices</title>
<updated>2025-01-12T04:57:00+00:00</updated>
<author>
<name>ltdk</name>
<email>usr@ltdk.xyz</email>
</author>
<published>2024-08-18T23:50:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e37daf0c868efc016dd8039d59d53a03303c9c07'/>
<id>urn:sha1:e37daf0c868efc016dd8039d59d53a03303c9c07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Windows: Use WriteFile to write to a UTF-8 console</title>
<updated>2024-12-21T15:59:56+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-12-13T17:31:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e3ecd5e4d822425e072e784dbb9732058d4b292'/>
<id>urn:sha1:1e3ecd5e4d822425e072e784dbb9732058d4b292</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: update internal uses of `io::const_error!`</title>
<updated>2024-11-26T17:38:24+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2024-11-25T12:49:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c14d137bfc5133f5a38fad2f58e30fed9c47ffe2'/>
<id>urn:sha1:c14d137bfc5133f5a38fad2f58e30fed9c47ffe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #127586 - zachs18:more-must-use, r=cuviper</title>
<updated>2024-08-03T09:17:42+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-08-03T09:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1f700139f8d5cb458679e6f8c0a0aa247b56c79d'/>
<id>urn:sha1:1f700139f8d5cb458679e6f8c0a0aa247b56c79d</id>
<content type='text'>
Add `#[must_use]` to some `into_raw*` functions.

cc #121287

r? ``@cuviper``

Adds `#[must_use = "losing the pointer will leak memory"]`[^1] to `Box::into_raw(_with_allocator)`, `Vec::into_raw_parts(_with_alloc)`, `String::into_raw_parts`[^2], and `rc::{Rc, Weak}::into_raw_with_allocator` (Rc's normal `into_raw` and all of `Arc`'s `into_raw*`s are already `must_use`).

Adds `#[must_use = "losing the raw &lt;resource name may leak resources"]` to `IntoRawFd::into_raw_fd`, `IntoRawSocket::into_raw_socket`, and `IntoRawHandle::into_raw_handle`.

[^1]: "*will* leak memory" may be too-strong wording (since `Box`/`Vec`/`String`/`rc::Weak` might not have a backing allocation), but I left it as-is for simplicity and consistency.

[^2]: `String::into_raw_parts`'s `must_use` message is changed from the previous (possibly misleading) "`self` will be dropped if the result is not used".
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Don't re-export `c_int` from `c`</title>
<updated>2024-07-15T05:01:23+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-07-14T21:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ffe8fc276ea593d0e1b9c8aee6edb71a53190a43'/>
<id>urn:sha1:ffe8fc276ea593d0e1b9c8aee6edb71a53190a43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove DWORD</title>
<updated>2024-07-15T05:01:22+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-07-14T07:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2b062c9b5ffbb2a57688cfa6efd9843ad70c454'/>
<id>urn:sha1:e2b062c9b5ffbb2a57688cfa6efd9843ad70c454</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove ULONG</title>
<updated>2024-07-15T05:01:22+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-07-14T07:40:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d8d7c5c3b96b386403c094946fa5d0a8cef3b666'/>
<id>urn:sha1:d8d7c5c3b96b386403c094946fa5d0a8cef3b666</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove LPVOID</title>
<updated>2024-07-15T05:01:21+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-07-14T07:19:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84dd7e4959bd1cadb67989f7a3234a46bcda2faf'/>
<id>urn:sha1:84dd7e4959bd1cadb67989f7a3234a46bcda2faf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove LPWSTR</title>
<updated>2024-07-15T05:01:20+00:00</updated>
<author>
<name>Chris Denton</name>
<email>chris@chrisdenton.dev</email>
</author>
<published>2024-07-14T06:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e70cc288311e907f721e5dff9201be18c4e42640'/>
<id>urn:sha1:e70cc288311e907f721e5dff9201be18c4e42640</id>
<content type='text'>
</content>
</entry>
</feed>
