rust/library/std
Trevor Gross 689d27293a
Rollup merge of #125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35
Simplify environment variable examples

I’ve found myself visiting the documentation for `std::env::vars` every few months, and every time I do, it is because I want to quickly get a snippet to print out all environment variables :-)

So I think it could be nice to simplify the examples a little to make them self-contained. It is of course a style question if one should import a module a not, but I personally don’t import modules used just once in a code snippet.
2024-07-16 20:10:09 -05:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #125206 - mgeisler:simplify-std-env-vars, r=jhpratt,tgross35 2024-07-16 20:10:09 -05:00
tests Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
build.rs std: Set has_reliable_f16 to false for MIPS targets in build.rs 2024-07-03 13:52:06 +02:00
Cargo.toml Add experimental raw-dylib feature to std 2024-07-05 16:11:25 +00:00