Files
rust/library/std/src
Matthias Krüger 867317835d Rollup merge of #136288 - joshtriplett:would-you-could-you-with-some-locks--would-you-could-you-in-some-docs, r=m-ou-se
Improve documentation for file locking

Add notes to each method stating that locks get dropped on close.

Clarify the return values of the try methods: they're only defined if
the lock is held via a *different* file handle/descriptor. That goes
along with the documentation that calling them while holding a lock via
the *same* file handle/descriptor may deadlock.

Document the behavior of unlock if no lock is held.

r? `@m-ou-se`
(Documentation changes requested in https://github.com/rust-lang/rust/issues/130994 .)
2025-01-30 20:47:09 +01:00
..
2023-12-10 10:56:22 +08:00
fmt
2025-01-08 22:11:33 +01:00
2024-07-29 08:26:52 +10:00
2024-12-27 10:07:10 +00:00
2024-11-02 11:27:14 +01:00
2024-01-11 11:30:12 -05:00
2025-01-14 17:28:33 +01:00
2025-01-08 21:26:39 +01:00
2025-01-27 11:42:16 +08:00
2025-01-07 14:30:02 +02:00
2024-07-29 08:26:52 +10:00
2025-01-11 06:35:21 +02:00
2025-01-30 11:48:26 +01: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