rust/library/std
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
..
benches Move std::time unit tests to integration tests 2025-01-26 10:28:04 +00:00
src Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdev 2025-02-11 01:02:40 -05:00
tests Rollup merge of #136805 - RalfJung:miri-win-delete-self, r=Noratrieb 2025-02-10 00:51:58 -08:00
build.rs Enable f128 tests on all non-buggy platforms 🎉 2024-11-03 19:33:04 -06:00
Cargo.toml Update compiler-builtins to 0.1.146 2025-02-07 20:58:28 +00:00