<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sync/once_lock.rs, branch 1.89.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.89.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.89.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-05-28T16:31:28+00:00</updated>
<entry>
<title>Clarify &amp;mut-methods' docs on sync::OnceLock</title>
<updated>2025-05-28T16:31:28+00:00</updated>
<author>
<name>Lukas Lueg</name>
<email>lukas.lueg@gmail.com</email>
</author>
<published>2025-05-06T19:49:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=200d742984ddd7eb1c96db09882217fcb1a1a146'/>
<id>urn:sha1:200d742984ddd7eb1c96db09882217fcb1a1a146</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update documentation of OnceLock::get_or_init.</title>
<updated>2025-05-08T07:33:38+00:00</updated>
<author>
<name>Luca Versari</name>
<email>veluca93@gmail.com</email>
</author>
<published>2025-05-08T07:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ae25c39f2216ea1f6f062faac71761cd3f1bdd16'/>
<id>urn:sha1:ae25c39f2216ea1f6f062faac71761cd3f1bdd16</id>
<content type='text'>
Explicitly point out that if the function panics the init function might
be called multiple times.
</content>
</entry>
<entry>
<title>update version placeholders</title>
<updated>2025-02-18T16:50:21+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2025-02-17T17:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fdba8a7c47398e8bd99cb22ede199bf9a0167eaf'/>
<id>urn:sha1:fdba8a7c47398e8bd99cb22ede199bf9a0167eaf</id>
<content type='text'>
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
</content>
</entry>
<entry>
<title>Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=Noratrieb</title>
<updated>2025-02-04T10:36:50+00:00</updated>
<author>
<name>Jacob Pratt</name>
<email>jacob@jhpratt.dev</email>
</author>
<published>2025-02-04T10:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d2aa3dec8ab901a684ab2347a030f346fec52fb2'/>
<id>urn:sha1:d2aa3dec8ab901a684ab2347a030f346fec52fb2</id>
<content type='text'>
Move some std tests to integration tests

Unit tests directly inside of standard library crates require a very fragile way of building that is hard to reproduce outside of bootstrap.

Follow up to https://github.com/rust-lang/rust/pull/133859
</content>
</entry>
<entry>
<title>Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35</title>
<updated>2025-02-03T20:11:33+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2025-02-03T20:11:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f2b7a299d2e4552851a97895a937d1b62f6dfdfe'/>
<id>urn:sha1:f2b7a299d2e4552851a97895a937d1b62f6dfdfe</id>
<content type='text'>
OnceCell &amp; OnceLock docs: Using (un)initialized consistently

Changed
* `set` / `initialize` / `full` to `initialized state`
* `uninitialize` / `empty` to `uninitialized state`
* `f` to `f()`
* Added explaination of `uninitialized state` &amp; `initialized state`

[OnceCell Docs](https://doc.rust-lang.org/nightly/std/cell/struct.OnceCell.html)
[OnceLock Docs](https://doc.rust-lang.org/nightly/std/sync/struct.OnceLock.html)

Fixes #85716
``@rustbot`` label +A-docs
</content>
</entry>
<entry>
<title>OnceCell &amp; OnceLock docs: Using (un)initialized consistently</title>
<updated>2025-02-03T12:18:39+00:00</updated>
<author>
<name>Pyrode</name>
<email>pyrode.01@gmail.com</email>
</author>
<published>2025-02-03T12:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f8b01b3d19a362f2b2416bf14773c54aa5f07324'/>
<id>urn:sha1:f8b01b3d19a362f2b2416bf14773c54aa5f07324</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stabilize `once_wait`</title>
<updated>2025-01-31T18:10:02+00:00</updated>
<author>
<name>Slanterns</name>
<email>slanterns.w@gmail.com</email>
</author>
<published>2025-01-31T18:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6fa6168e719ec3bbfdd345621af5969b4f5d2e2d'/>
<id>urn:sha1:6fa6168e719ec3bbfdd345621af5969b4f5d2e2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move std::sync unit tests to integration tests</title>
<updated>2025-01-26T10:28:05+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-01-17T11:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b8ae372e483ed194a4aff2c4500bb7f0fd7e2967'/>
<id>urn:sha1:b8ae372e483ed194a4aff2c4500bb7f0fd7e2967</id>
<content type='text'>
This removes two minor OnceLock tests which test private methods. The
rest of the tests should be more than enough to catch mistakes in those
private methods. Also makes ReentrantLock::try_lock public. And finally
it makes the mpmc tests actually run.
</content>
</entry>
<entry>
<title>Move some things to `std::sync::poison` and reexport them in `std::sync`</title>
<updated>2025-01-02T12:21:41+00:00</updated>
<author>
<name>Pavel Grigorenko</name>
<email>GrigorenkoPV@ya.ru</email>
</author>
<published>2024-12-23T16:36:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d'/>
<id>urn:sha1:ee2ad4dfb1b7d3a07604efc6d9eb618d0fe3bf7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document PartialEq impl for OnceLock</title>
<updated>2024-10-22T03:15:04+00:00</updated>
<author>
<name>David Ross</name>
<email>daboross@daboross.net</email>
</author>
<published>2024-10-22T03:05:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c18bab3fe64c8786c26ac483dac13f615e544276'/>
<id>urn:sha1:c18bab3fe64c8786c26ac483dac13f615e544276</id>
<content type='text'>
</content>
</entry>
</feed>
