Files
rust/library/std/src
Jacob Pratt 2996cfdcc3 Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdev
Improve examples for file locking

The `lock` and `try_lock` documentation states that "if the file not open for writing, it is unspecified whether this function returns an error." With this change, the examples use `File::create` instead of `File::open`, eliminating the possibility of someone blindly copying code with unspecified behavior.
2025-02-11 01:02:40 -05:00
..
2023-12-10 10:56:22 +08:00
2024-11-02 11:27:14 +01:00
2025-02-09 17:11:13 +00:00
2025-01-11 06:35:21 +02:00
2025-02-07 16:54:07 +01:00
2025-02-09 17:11:13 +00:00
2024-04-08 11:57:17 +00:00
2025-02-01 13:32:01 +01:00
2024-10-22 20:18:11 -04:00
2025-02-07 16:54:07 +01:00