<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/sync/lazy_lock.rs, branch 1.77.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-14T18:28:13+00:00</updated>
<entry>
<title>std: Doc blocking behavior of LazyLock methods</title>
<updated>2024-01-14T18:28:13+00:00</updated>
<author>
<name>Behnam Esfahbod</name>
<email>behnam@zwnj.org</email>
</author>
<published>2024-01-11T23:55:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a596159dca825a02270335d4b90b8fcb128b2d11'/>
<id>urn:sha1:a596159dca825a02270335d4b90b8fcb128b2d11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnay</title>
<updated>2023-07-31T20:51:12+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-07-31T20:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bcfa49f162de64209cc9ed64cfcd36942e67b02a'/>
<id>urn:sha1:bcfa49f162de64209cc9ed64cfcd36942e67b02a</id>
<content type='text'>
Make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent with `Mutex` and `RwLock`

`Mutex` prints `&lt;locked&gt;` as a field value when its inner value cannot be accessed, but the lazy types print a fixed string like "`OnceCell(Uninit)`". This could cause confusion if the inner type is a unit type named `Uninit` and does not respect the pretty-printing flag. With this change, the format message is now "`OnceCell(&lt;uninit&gt;)`", consistent with `Mutex`.
</content>
</entry>
<entry>
<title>Rollup merge of #109075 - joboet:lazylock_backtrace, r=workingjubilee</title>
<updated>2023-07-31T00:50:47+00:00</updated>
<author>
<name>Jubilee</name>
<email>46493976+workingjubilee@users.noreply.github.com</email>
</author>
<published>2023-07-31T00:50:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ad8d6adc5727d5a6f22ca3805df00335edd6ba2'/>
<id>urn:sha1:0ad8d6adc5727d5a6f22ca3805df00335edd6ba2</id>
<content type='text'>
Use `LazyLock` to lazily resolve backtraces

By using TAIT to name the initializing closure, `LazyLock` can be used to replace the current `LazilyResolvedCapture`.
</content>
</entry>
<entry>
<title>docs(LazyLock): add example pass local LazyLock variable to struct</title>
<updated>2023-07-25T04:21:30+00:00</updated>
<author>
<name>DragonBillow</name>
<email>DragonBillow@outlook.com</email>
</author>
<published>2023-07-25T04:21:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40dd5a337cf8e565ae8c364e69e4e4e2d83ea4a7'/>
<id>urn:sha1:40dd5a337cf8e565ae8c364e69e4e4e2d83ea4a7</id>
<content type='text'>
Signed-off-by: DragonBillow &lt;DragonBillow@outlook.com&gt;
</content>
</entry>
<entry>
<title>std: use `LazyLock` to lazily resolve backtraces</title>
<updated>2023-04-27T07:32:28+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-03-13T15:31:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6776af529a163d5830fea577cf00619940b27908'/>
<id>urn:sha1:6776af529a163d5830fea577cf00619940b27908</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent with `Mutex` and `RwLock`</title>
<updated>2023-04-19T06:35:22+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-03-18T19:06:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7e68dfc945c4cf8d1753cc3a8be48a71bb39d5a'/>
<id>urn:sha1:b7e68dfc945c4cf8d1753cc3a8be48a71bb39d5a</id>
<content type='text'>
`Mutex` prints `&lt;locked&gt;` as a field value when its inner value cannot be accessed, but the lazy types print a fixed string like "`OnceCell(Uninit)`". This could cause confusion if the inner type is a unit type named `Uninit` and does not respect the pretty-printing flag. With this change, the format message is now "`OnceCell(&lt;uninit&gt;)`", consistent with `Mutex`.
</content>
</entry>
<entry>
<title>Add Lazy{Cell,Lock}::into_inner</title>
<updated>2023-04-14T20:15:11+00:00</updated>
<author>
<name>Alex Saveau</name>
<email>saveau.alexandre@gmail.com</email>
</author>
<published>2022-12-26T08:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d9256f94a987a008484caab5acf5a6e06c24ecd3'/>
<id>urn:sha1:d9256f94a987a008484caab5acf5a6e06c24ecd3</id>
<content type='text'>
Signed-off-by: Alex Saveau &lt;saveau.alexandre@gmail.com&gt;
</content>
</entry>
<entry>
<title>Stabilize a portion of 'once_cell'</title>
<updated>2023-03-29T22:04:44+00:00</updated>
<author>
<name>Trevor Gross</name>
<email>tmgross@umich.edu</email>
</author>
<published>2022-12-12T05:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc4ba57566acac492df2c2074d2d7144566dc7df'/>
<id>urn:sha1:dc4ba57566acac492df2c2074d2d7144566dc7df</id>
<content type='text'>
Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try'
</content>
</entry>
<entry>
<title>std: add safety comment in `LazyLock::get`</title>
<updated>2023-01-27T09:11:42+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-01-27T09:11:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6520488e37f39a11affd776ab1283a0a3fe8087e'/>
<id>urn:sha1:6520488e37f39a11affd776ab1283a0a3fe8087e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: fix `Debug` implementation on `LazyLock`</title>
<updated>2023-01-27T09:09:38+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2023-01-27T09:09:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7165e610a21ff78a76775ad2941ef882814f4342'/>
<id>urn:sha1:7165e610a21ff78a76775ad2941ef882814f4342</id>
<content type='text'>
</content>
</entry>
</feed>
