Files
rust/library/std/src
Matthias Krüger 1f6cb859ee Rollup merge of #132019 - daboross:document-partialeq-oncelock, r=Mark-Simulacrum
Document `PartialEq` impl for `OnceLock`

Adds documentation to `std::sync::OnceLock`'s `PartialEq` implementation: specifies publicly that `OnceLock`s are compared based on their contents, and nothing else.

Created in response to, but not directly related to, https://github.com/rust-lang/rust/issues/131959.

## ne

This doesn't create and document `PartialEq::ne`. There's precedent for this in [`RefCell`](https://doc.rust-lang.org/std/cell/struct.RefCell.html#impl-PartialEq-for-RefCell%3CT%3E).
2024-10-26 18:45:33 +02:00
..
2023-12-10 10:56:22 +08:00
2024-07-29 08:26:52 +10:00
2024-09-25 17:03:20 -07:00
2024-09-25 17:03:20 -07:00
2024-09-23 10:29:51 +02:00
2024-01-11 11:30:12 -05:00
2024-07-29 08:26:52 +10:00
2024-10-20 18:25:38 +03:00
2024-08-01 15:38:51 -04:00
2024-04-08 11:57:17 +00:00
2024-10-22 20:18:11 -04:00