<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/prelude/mod.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-24T14:35:30+00:00</updated>
<entry>
<title>span: add a "future" edition</title>
<updated>2025-02-24T14:35:30+00:00</updated>
<author>
<name>David Wood</name>
<email>david.wood2@arm.com</email>
</author>
<published>2025-02-12T05:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d6bb98e7579b3d8711cc00dc95a9425395bae9df'/>
<id>urn:sha1:d6bb98e7579b3d8711cc00dc95a9425395bae9df</id>
<content type='text'>
It's hard to implement edition migrations without having a perma-unstable
"future" edition to target.
</content>
</entry>
<entry>
<title>Remove the common prelude module</title>
<updated>2025-02-11T21:04:27+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2025-02-11T20:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8c24c0a023456c3d9e58f06a3abf0a83d335c6f6'/>
<id>urn:sha1:8c24c0a023456c3d9e58f06a3abf0a83d335c6f6</id>
<content type='text'>
This fixes the issues described in
https://github.com/rust-lang/rust/issues/136102. Primarily, this
resolves some issues with how the documentation for the prelude is
generated:

- It avoids showing "unstable" for macros in the prelude that are
  actually stable.
- Avoids duplication of some pages due to the previous lack of
  `doc(no_inline)`.
- Makes the different edition preludes consistent, and sets a pattern
  that can be used by future editions.

We may need to rearrange these modules in the future if we decide to
remove anything from the prelude again. If we do, I think we should look
into a different solution that avoids the documentation problems.
</content>
</entry>
<entry>
<title>remove Rustc{En,De}codable from library and compiler</title>
<updated>2025-01-14T15:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-01-07T17:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9ac62f972fd47705f9d229e854772194565071eb'/>
<id>urn:sha1:9ac62f972fd47705f9d229e854772194565071eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make rustc_encodable_decodable feature properly unstable</title>
<updated>2025-01-14T15:16:38+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-13T17:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4df78a07e5c3ad032d59941b77ab394e4a75c7c1'/>
<id>urn:sha1:4df78a07e5c3ad032d59941b77ab394e4a75c7c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update version placeholders</title>
<updated>2025-01-08T19:02:18+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2025-01-06T19:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ae92b7adbafd018bf0c829a4691ffbb3933d8f0'/>
<id>urn:sha1:4ae92b7adbafd018bf0c829a4691ffbb3933d8f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reword prelude for AsyncFn stabilization</title>
<updated>2024-12-13T00:04:57+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-12-12T23:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a1a5e8bb779dc426005aca5bbbc240d29f032ec'/>
<id>urn:sha1:5a1a5e8bb779dc426005aca5bbbc240d29f032ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize the Rust 2024 prelude</title>
<updated>2024-12-11T21:09:57+00:00</updated>
<author>
<name>Eric Huss</name>
<email>eric@huss.org</email>
</author>
<published>2024-12-11T18:59:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1bc58979a2f75b3d96976c24ae41b84dc701374c'/>
<id>urn:sha1:1bc58979a2f75b3d96976c24ae41b84dc701374c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid comments that describe multiple `use` items.</title>
<updated>2024-07-16T22:02:46+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-06-20T05:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=75b6ec980059292faa9cdf538b552faf6b70fb29'/>
<id>urn:sha1:75b6ec980059292faa9cdf538b552faf6b70fb29</id>
<content type='text'>
There are some comments describing multiple subsequent `use` items. When
the big `use` reformatting happens some of these `use` items will be
reordered, possibly moving them away from the comment. With this
additional level of formatting it's not really feasible to have comments
of this type. This commit removes them in various ways:

- merging separate `use` items when appropriate;

- inserting blank lines between the comment and the first `use` item;

- outright deletion (for comments that are relatively low-value);

- adding a separate "top-level" comment.

We also entirely skip formatting for four library files that contain
nothing but `pub use` re-exports, where reordering would be painful.
</content>
</entry>
<entry>
<title>Add `size_of`, `size_of_val`, `align_of`, and `align_of_val` to the prelude</title>
<updated>2024-05-13T13:11:28+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2024-03-28T14:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a5a60d75a87881f79deea115d7cd002ce3373fd5'/>
<id>urn:sha1:a5a60d75a87881f79deea115d7cd002ce3373fd5</id>
<content type='text'>
Many, many projects use `size_of` to get the size of a type. However,
it's also often equally easy to hardcode a size (e.g. `8` instead of
`size_of::&lt;u64&gt;()`). Minimizing friction in the use of `size_of` helps
ensure that people use it and make code more self-documenting.

The name `size_of` is unambiguous: the name alone, without any prefix or
path, is self-explanatory and unmistakeable for any other functionality.
Adding it to the prelude cannot produce any name conflicts, as any local
definition will silently shadow the one from the prelude. Thus, we don't
need to wait for a new edition prelude to add it.

Add `size_of_val`, `align_of`, and `align_of_val` as well, with similar
justification: widely useful, self-explanatory, unmistakeable for
anything else, won't produce conflicts.
</content>
</entry>
<entry>
<title>Remove RustcEncodable/Decodable from 2024 prelude</title>
<updated>2024-03-22T20:30:48+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2023-09-21T00:56:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fbf21c5763430d7acdfe9843d8bc7fc2253be334'/>
<id>urn:sha1:fbf21c5763430d7acdfe9843d8bc7fc2253be334</id>
<content type='text'>
</content>
</entry>
</feed>
